x86 build failure : __sync_sub_and_fetch_4

Riccardo Mottola rmottola at opencsw.org
Wed Dec 16 17:29:14 CET 2015


Hi Dagobert,

Dagobert Michelsen wrote:
>>
>> Please commit what you have and let me know the PATH in the GAR tree so I can have a look.
>
> It works for me, you can verify with „mgar modenv“:
>

Does it mean build completes for you? There should be no other issues, 
at least, there weren't for sparc.

>> dam at unstable9x :/home/dam/mgar/pkg/gnustep-base/trunk > mgar modenv
>>       Platforms: solaris9-sparc solaris9-i386 solaris10-sparc solaris10-i386
>>            Arch: i386
>>          Kernel: i386
>>
>> Default ISA 32: pentium_pro
>> Default ISA 64: amd64
>>
>> Requested ISAs: sparcv8 pentium_pro
>>     Needed ISAs: pentium_pro
>>      Build ISAs: pentium_pro
>>
>>    ISAEXEC dirs:
>>   ISAEXEC files:
>>
>>   Merge include:
>>   Merge exclude:     /opt/csw/share/info/dir /opt/csw/lib/.*\.la .*\~ /opt/csw/lib/.*\.a
>>
>>      Modulators: ISA
>>     Modulations: isa-pentium_pro
>>
>> Requested compiler flags:
>>
>> * Modulation isa-pentium_pro: ISA=pentium_pro
>>       Build Host = unstable9x
>>             PATH = /home/dam/mgar/pkg/gnustep-base/trunk/work/solaris9-i386/install-isa-pentium_pro/opt/csw/bin:/home/dam/mgar/pkg/gnustep-base/trunk/work/solaris9-i386/install-isa-pentium_pro/opt/csw/bin:/home/dam/mgar/pkg/gnustep-base/trunk/work/solaris9-i386/install-isa-pentium_pro/opt/csw/sbin:/home/dam/mgar/pkg/gnustep-base/trunk/work/solaris9-i386/install-isa-pentium_pro/opt/csw/sbin:/opt/csw/bin:/opt/csw/bin:/opt/csw/sbin:/opt/csw/sbin:/opt/csw/bin:/home/dam/mgar/pkg/.buildsys/v2/gar/bin:/usr/bin:/usr/sbin:/usr/java/bin:/usr/ccs/bin:/usr/openwin/bin
>> PKG_CONFIG_PATH = /opt/csw/lib/pkgconfig
>>           CFLAGS = -O2 -pipe -m32 -march=pentiumpro
>>         CXXFLAGS = -O2 -pipe -m32 -march=pentiumpro
>>         CPPFLAGS = -I/opt/csw/include
>>           FFLAGS = -O2 -pipe -m32 -march=pentiumpro
>>          FCFLAGS = -O2 -pipe -m32 -march=pentiumpro
>>          LDFLAGS = -m32 -march=pentiumpro -L/opt/csw/lib
>>       LD_OPTIONS = -R/opt/csw/GNUstep/System/Library/Libraries/$ISALIST -R/opt/csw/GNUstep/System/Library/Libraries -R/opt/csw/lib/$ISALIST -R/opt/csw/lib -B direct -z ignore
>>          ASFLAGS =
>>         OPTFLAGS = -O2 -pipe -m32 -march=pentiumpro
>>     Merge Scripts:
>>     Merge Targets: merge-copy-all

It looks quite fine and similar to yours:


rmottola at unstable9x :~/opencsw/gnustep-base/trunk > mgar modenv
      Platforms: solaris9-sparc solaris9-i386 solaris10-sparc solaris10-i386
           Arch: i386
         Kernel: i386

Default ISA 32: pentium_pro
Default ISA 64: amd64

Requested ISAs: sparcv8 pentium_pro
    Needed ISAs: pentium_pro
     Build ISAs: pentium_pro

   ISAEXEC dirs:
  ISAEXEC files:

  Merge include:
  Merge exclude:     /opt/csw/share/info/dir /opt/csw/lib/.*\.la .*\~ 
/opt/csw/lib/.*\.a

     Modulators: ISA
    Modulations: isa-pentium_pro

Requested compiler flags:

* Modulation isa-pentium_pro: ISA=pentium_pro
      Build Host = unstable9x
            PATH = 
/home/rmottola/opencsw/gnustep-base/trunk/work/solaris9-i386/install-isa-pentium_pro/opt/csw/bin:/home/rmottola/opencsw/gnustep-base/trunk/work/solaris9-i386/install-isa-pentium_pro/opt/csw/bin:/home/rmottola/opencsw/gnustep-base/trunk/work/solaris9-i386/install-isa-pentium_pro/opt/csw/sbin:/home/rmottola/opencsw/gnustep-base/trunk/work/solaris9-i386/install-isa-pentium_pro/opt/csw/sbin:/opt/csw/bin:/opt/csw/bin:/opt/csw/sbin:/opt/csw/sbin:/opt/csw/bin:/home/rmottola/opencsw/.buildsys/v2/gar/bin:/usr/bin:/usr/sbin:/usr/java/bin:/usr/ccs/bin:/usr/openwin/bin
PKG_CONFIG_PATH = /opt/csw/lib/pkgconfig
          CFLAGS = -O2 -pipe -m32 -march=pentiumpro
        CXXFLAGS = -O2 -pipe -m32 -march=pentiumpro
        CPPFLAGS = -I/opt/csw/include
          FFLAGS = -O2 -pipe -m32 -march=pentiumpro
         FCFLAGS = -O2 -pipe -m32 -march=pentiumpro
         LDFLAGS = -m32 -march=pentiumpro -L/opt/csw/lib
      LD_OPTIONS = -R/opt/csw/GNUstep/System/Library/Libraries/$ISALIST 
-R/opt/csw/GNUstep/System/Library/Libraries -R/opt/csw/lib/$ISALIST 
-R/opt/csw/lib -B direct -z ignore
         ASFLAGS =
        OPTFLAGS = -O2 -pipe -m32 -march=pentiumpro
    Merge Scripts:
    Merge Targets: merge-copy-all


>
> Maybe you have an undetected „include category.mk“ early in your Makefile?

there is one:

include gar/category.mk

after CONFIGURE_ARGS

Riccardo



More information about the maintainers mailing list