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

linking problems with constant memory


hello,

i would like to build a library (fox-library) on

:/home/rvsfox/gnutools/fox/fox-1.1.7> uname -vrs
AIX 3 4

with following compiler:

:/home/rvsfox/gnutools/fox/fox-1.1.7> gcc -v
Reading specs from
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.1.0/2.95.2/specs
gcc version 2.95.2 19991024 (release)

compiling looks good but when it's time to link the library i've got
following messages:

...
ld: 0711-302 ERROR: Object FXButton.o, csect <_FXButton.rw_cpp>
        The csect is part of the .text section, and relocation entries
        from the csect have been written to the .loader section.
ld: 0711-302 ERROR: Object FXLabel.o, csect <_FXLabel.rw_cpp>
        The csect is part of the .text section, and relocation entries
        from the csect have been written to the .loader section.
ld: 0711-302 ERROR: Object FXCanvas.o, csect <_FXCanvas.rw_cpp>
        The csect is part of the .text section, and relocation entries
        from the csect have been written to the .loader section.
...

i wrote to the mailing-list of fox-toolkit and got the response:

"There exists some sort of bug in gcc, which prevents constant memory
from being written.  There is a patched gcc floating around which
fixes this problem."

my question to you is: where can i find this patch, if it exist.
thanks

johannes

--------------------------------
gedas deutschland GmbH
Pascalstrasse 11, D-10586 Berlin
phone:  +49-30-3997-1587
telefax: +49-30-3997-1994
mailto:johannes.kremp@gedas.de
http://www.gedas.com


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