x86 build failure : __sync_sub_and_fetch_4
Riccardo Mottola
rmottola at opencsw.org
Wed Dec 9 15:26:32 CET 2015
Hi,
Dagobert Michelsen wrote:
>> From what I could gather from the internet, this is caused by forcing i386 because those functions are available only on >= 486 as atomic function.
>> >If someone can confirm that this is the problem, is it it reasonable to compile for 486 and up only? What's the best way to set march ?
> I doubt you can run on a CPU which does not support 486 commands, so it is most certainly ok.
I doubt that too.
On the FAQ you suggest removing OPT flags. I would instead rising the
ARCH version. How is that best accomplished?
/opt/csw/bin/gcc-4.6 -m32 -march=i386
march = i486
would be more appropriate, but it should happen only during x86 builds,
not amd64 so I don't want to force it.
Thanks
More information about the maintainers
mailing list