This is the mail archive of the gcc-bugs@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]

AIX/g++ const structs containing function addresses fail.


Has there been any resolution to this one? I think that I may be observing a similar problem if not the same one:
 
I am attempting to build libstdc++ version 2.90.6 on AIX 4.2.1 for PPC RS/6000. When linking the shared object version of the library, the linker returns the error --
ld: 0711-302 ERROR: Object localename.o, csect <_localename.rw_cc>
        The csect is part of the .text section, and relocation entries
        from the csect have been written to the .loader section.
 
The static library links fine and when I dump headers from localename.o, there is no .loader section listed.
 
I have received the same behavior with GCC versions 2.95.1 and 2.95.2.
 
Thanks for any help or pointers.
 
-- Matthew Brown
BEGIN:VCARD
VERSION:2.1
N:Brown;Matthew
FN:Matthew Brown
ORG:Concord Software, Inc.
TITLE:Senior Programmer
TEL;WORK;VOICE:(603) 880-8151
TEL;WORK;FAX:(603) 886-1780
ADR;WORK:;;4 John Tyler Street;Merrimack;New Hampshire;03054;USA
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:4 John Tyler Street=0D=0AMerrimack, New Hampshire 03054=0D=0AUSA
X-WAB-GENDER:2
URL:
URL:http://www.concordsw.com
EMAIL;PREF;INTERNET:mbrown@mediadb.net
REV:19991130T165624Z
END:VCARD

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