This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AIX bootstrap failure (C++ PATCH: New parser)


	Linking libstdc++-3/abi_check fails due to missing symbols which
appear to be due to the new parser ignoring NO_IMPLICIT_EXTERN_C

ld: 0711-317 ERROR: Undefined symbol: .fetch_and_add(int*, int)
ld: 0711-317 ERROR: Undefined symbol: .__assert(char const*, char const*, int)

Prior to the parser merge, these are imported into libstdc++.a from AIX
libc as fetch_and_add.  After the parser merge, these appear in
libstdc++.a as _Z13fetch_and_addPii and _Z8__assertPKcS0_i .

AIX /usr/include/sys/atomic_op.h is not protected by extern "C" as it
should.  I can fix this in libstdc++-v3/config/os/aix/atomicity.h.

	While I can work around this, this points out that
NO_IMPLICIT_EXTERN_C is not working correctly in the new parser.

David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]