x86 build failure : __sync_sub_and_fetch_4

Dagobert Michelsen dam at opencsw.org
Wed Dec 9 15:32:58 CET 2015


Hi Riccardo,

Am 09.12.2015 um 15:26 schrieb Riccardo Mottola <rmottola at opencsw.org>:
> 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.

Look here:
  https://buildfarm.opencsw.org/source/xref/opencsw/csw/mgar/gar/v2/gar.conf.mk#520

ISA_DEFAULT_i386-5.9 = pentium_pro


Best regards

  — Dago

--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20151209/7d4e6378/attachment.asc>


More information about the maintainers mailing list