Bryan Christianson
2015-07-29 01:38:15 UTC
I'm trying to build gc-7.4.2 and libatomic_ops-7.4.2 on aix-7.1 and not having much luck.
Using gcc-4.9.1, I followed the build instructions at http://www.hboehm.info/gc/#where
I suspect I need to set environment variables and/or pass aix specific options to the configure script.
Any help appreciated
Regards
Bryan Christianson
Compilation fails with
depbase=`echo alloc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -Wall -Wextra -g -fno-strict-aliasing -MT alloc.lo -MD -MP -MF $depbase.Tpo -c -o alloc.lo alloc.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -Wall -Wextra -g -fno-strict-aliasing -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c alloc.c -fPIC -DPIC -o .libs/alloc.o
alloc.c:1368:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
a bunch of warnings
..
^
alloc.c: In function 'GC_never_stop_func':
alloc.c:128:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
}
^
...
And then
Assembler:
/tmp//cchA8WDg.s: line 888: 1252-142 Syntax error.
/tmp//cchA8WDg.s: line 890: 1252-142 Syntax error.
/tmp//cchA8WDg.s: line 892: 1252-142 Syntax error.
/tmp//cchA8WDg.s: line 893: 1252-142 Syntax error.
make[1]: *** [alloc.lo] Error 1
make[1]: Leaving directory `/gthome/bryanc/hal/gc/gc-7.4.2'
make: *** [all-recursive] Error 1
P : Please consider the environment before printing this e-mail
________________________________
This e-mail together with any attachments is confidential, may be subject to legal privilege and may contain proprietary information, including information protected by copyright. If you are not the intended recipient, please do not copy, use or disclose this e-mail; please notify us immediately by return e-mail and then delete this e-mail. No liability is accepted for unauthorized transmissions or actions arising. Any views or opinions expressed in this e-mail may be solely those of the author and are not necessarily those of Gentrack. This email, if it relates to a specific contract, is sent on behalf of the Gentrack company which entered into the contract. Please contact the sender if you are unsure of the contracting Gentrack company or visit our web page http://www.gentrack.com for further information on the Gentrack Group. Where Gentrack UK Ltd is the company referred to, its details are: Registered in England & Wales No. 08229203. Reg. office: Evergreen House, 160 Euston Road, Grafton, London NW1 2DX.
________________________________
Using gcc-4.9.1, I followed the build instructions at http://www.hboehm.info/gc/#where
I suspect I need to set environment variables and/or pass aix specific options to the configure script.
Any help appreciated
Regards
Bryan Christianson
Compilation fails with
depbase=`echo alloc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -Wall -Wextra -g -fno-strict-aliasing -MT alloc.lo -MD -MP -MF $depbase.Tpo -c -o alloc.lo alloc.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -Wall -Wextra -g -fno-strict-aliasing -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c alloc.c -fPIC -DPIC -o .libs/alloc.o
alloc.c:1368:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
a bunch of warnings
..
^
alloc.c: In function 'GC_never_stop_func':
alloc.c:128:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
}
^
...
And then
Assembler:
/tmp//cchA8WDg.s: line 888: 1252-142 Syntax error.
/tmp//cchA8WDg.s: line 890: 1252-142 Syntax error.
/tmp//cchA8WDg.s: line 892: 1252-142 Syntax error.
/tmp//cchA8WDg.s: line 893: 1252-142 Syntax error.
make[1]: *** [alloc.lo] Error 1
make[1]: Leaving directory `/gthome/bryanc/hal/gc/gc-7.4.2'
make: *** [all-recursive] Error 1
P : Please consider the environment before printing this e-mail
________________________________
This e-mail together with any attachments is confidential, may be subject to legal privilege and may contain proprietary information, including information protected by copyright. If you are not the intended recipient, please do not copy, use or disclose this e-mail; please notify us immediately by return e-mail and then delete this e-mail. No liability is accepted for unauthorized transmissions or actions arising. Any views or opinions expressed in this e-mail may be solely those of the author and are not necessarily those of Gentrack. This email, if it relates to a specific contract, is sent on behalf of the Gentrack company which entered into the contract. Please contact the sender if you are unsure of the contracting Gentrack company or visit our web page http://www.gentrack.com for further information on the Gentrack Group. Where Gentrack UK Ltd is the company referred to, its details are: Registered in England & Wales No. 08229203. Reg. office: Evergreen House, 160 Euston Road, Grafton, London NW1 2DX.
________________________________