Open GoogleCodeExporter opened 9 years ago
This patch makes super little sense to me. Why would it fail on that section,
but not the ten other areas which have the same exact code? Don't see this
error on any other platforms as well.
I'd like to sit down with a suse instance and play with it. I don't have one
nor does my KVM setup work at the moment, so I'm going to punt for 1.4.9. If
you or someone has a shell I can use to fiddle, I'd take a look.
Original comment by dorma...@rydia.net
on 28 Sep 2011 at 4:51
Issue 223 has been merged into this issue.
Original comment by dsalli...@gmail.com
on 28 Sep 2011 at 8:49
We're going to declare this a WONTFIX, but leave it open for others to
understand what the issue is.
This appears to be a compiler bug affecting OpenSuse. There are many
references to it in other projects, all of which have dumb workarounds we'd
rather not do. We've seen memcached compile with any one of these three things:
* Manually create char arrays for this function as shown in this patch.
* Make this function not be static/inline.
* Disable gcc optimizations (change -O2 to -O0 )
If the code fails to compile on one or two platforms because of a bug in the
compiler and the workarounds aren't clean (either reducing performance in the
latter two or just making things confusing in the first one), we'd rather just
wait for the upstream to fix their bugs.
This bug will be left open until the vendor distributes a fix for their bug,
and then close it as wontfix. Simple workarounds are welcome here, but if the
code isn't wrong, we'd rather not fix it.
Tested good on:
GCC 4.5.3 / FreeBSD
GCC 4.6.1 / debian
GCC 4.6.0 / fedora
GCC 4.5.2 / ubuntu
clang 2.1 / OS X Lion
Original comment by dsalli...@gmail.com
on 28 Sep 2011 at 9:35
Issue 228 has been merged into this issue.
Original comment by dorma...@gmail.com
on 15 Nov 2011 at 5:03
Original issue reported on code.google.com by
b8451349@klzlk.com
on 21 Aug 2011 at 8:39