> > El 17/01/12 21:27, dormando escribió: > > > > > > could you please try 1.4.11 with the attached patch on all platforms? > > > > I'm > > > > taking a bit of a guess since google isn't very familiar with this > > > > macro. > > > > > > > > for bonus points; add an fprintf(stderr, etc) to make sure it's using > > > > the > > > > right path for each. > > > > Hello @dormando: > > > > Results after applying your patch to memcached 1.4.11 on different RHEL > > versions: > > > > - RHEL-4 (gcc 3.4.6) can be compiled without problems on both i386 and > > x86_64, > > thanks! :) > > > > - RHEL-5 (gcc 4.1.2) can't built on both i386 + x86_64, with a new error: > > > > https://gist.github.com/1632081 > > > > - RHEL-6 (gcc 4.4.6): > > > > a) x86_64 = build without problems > > > > b) i386 = "manual" compilation works, but a I'm getting an error > > building > > the RPM package, it might be related with gcc flags, I'm working on it.. > > rpmbuild error output: > > > > https://gist.github.com/1632139 > > Closer... Can you try the attached patch against 1.4.11? could've sworn > I'd tested the other path, but I guess not :( > > I added some prints at the bottom that should print something to STDERR > when started in the foreground: > > $ ./memcached > USING GCC ATOMICS > > Any chance you could give me the output from each of your platforms as > well as the build test results? I'm a little worried that rhel-6 i386 > should be using real atomics, but I haven't figured that out for sure yet.
Also, are you running 'make test' on these platforms? I'm curious if 'make test' actually passes on all of the 32bit machines.