Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265540 - AIX 5.3 TL08 binder (aka. linker) dumps core with gcc-3.4
Summary: AIX 5.3 TL08 binder (aka. linker) dumps core with gcc-3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: PPC AIX
: High normal
Assignee: Michael Haubenwallner (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-09 12:10 UTC by Michael Haubenwallner (RETIRED)
Modified: 2009-04-17 07:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Haubenwallner (RETIRED) gentoo-dev 2009-04-09 12:10:54 UTC
When building mico-2.3.13 with gcc-3.4 (because IBM-Rational-Purify does not support other than gcc-3.4), the AIX binder dumps core for yet unknown reason.
It seems to work with gcc-4 even on TL08.
It definitively works with gcc-3.4 on AIX 5.3 TL06.

The error looks like:

powerpc-ibm-aix5.3.0.0-g++  -I. -I../idl -I../include  -O2  -Wall -Wwrite-strings -pthread  -fno-strict-aliasing -D_REENTRANT  -L. -L../idl -L../orb -pthread  -Wl,-brtl  main.o -L. -lidl -lmicoir2.3.13 -lmico2.3.13 -lssl -lcrypto -lld -ldl -lm    ../idl/libidl.a -o ird
ld: 0711-224 WARNING: Duplicate symbol: .__moddi3
ld: 0711-224 WARNING: Duplicate symbol: .__divdi3
ld: 0711-224 WARNING: Duplicate symbol: .__udivdi3
ld: 0711-224 WARNING: Duplicate symbol: .__udivmoddi4
ld: 0711-224 WARNING: Duplicate symbol: .__umoddi3
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

ld: 0706-010 The binder was killed by a signal: Segmentation fault
        Check for binder messages or use local problem reporting procedures.
collect2: ld returned 254 exit status
make[1]: *** [ird] Error 1
Comment 1 Michael Haubenwallner (RETIRED) gentoo-dev 2009-04-17 07:41:34 UTC
It seems to work when adding '-bexpfull' linker flag.
Done by patching LINK_SPEC in gcc-source for CTARGET=*-aix5.3* in r43715.