Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Linker problem (/beta/v2gnu/bnu217br1.zip)

2 views
Skip to first unread message

Juan Manuel Guerrero

unread,
Mar 28, 2008, 4:25:20 PM3/28/08
to dj...@delorie.com
Unfortunatly I have not seen this problem before, but with bnu217br1.zip I get
the following error message when I compile texinfo:

gcc -g -O2 -o ginfo.exe dir.o display.o dribble.o echo-area.o filesys.o footnotes.o gc.o indices.o info-utils.o info.o infodoc.o infomap.o m-x.o man.o nodemenu.o nodes.o search.o session.o signals.o terminal.o tilde.o variables.o window.o doc.o ../lib/libtxi.a ../gnulib/lib/libgnu.a
c:/djgpp/bin/ld.exe: section .ctors [0001a978 -> 0001a97b] overlaps section .text [00001a60 -> 000467ff]
collect2: ld returned 1 exit status
make.exe[3]: *** [ginfo.exe] Error 1

I have compared the linker scripts generated by me today with the ones
distributed with /beta/v2gnu/bnu217b.zip. They differe. This surprissed me
very much because I assumed that the binaries can be produced as described by
the readme file in the source package. Even worse, if I substitute the new linker
scripts with the old ones the same failure happens.
I am not familiar enough with linker scripts and binutils so some help would
be seriously appreciated.

Regards,
Juan M. Guerrero

The diffs below shows the difference between old and new linker scripts:

diff -aru1 old/llib/ldscripts/i386go32.x new/lib/ldscripts/i386go32.x
--- old/llib/ldscripts/i386go32.x 2007-03-16 15:51:14 +0000
+++ new/lib/ldscripts/i386go32.x 2008-03-28 14:20:50 +0000
@@ -19,3 +19,2 @@
*(.ctor)
- *(.ctors)
djgpp_last_ctor = . ;
@@ -24,7 +23,3 @@
*(.dtor)
- *(.dtors)
djgpp_last_dtor = . ;
- __environ = . ;
- PROVIDE(_environ = .) ;
- LONG(0) ;
*(.data)
diff -aru1 old/llib/ldscripts/i386go32.xbn new/lib/ldscripts/i386go32.xbn
--- old/llib/ldscripts/i386go32.xbn 2007-03-16 15:51:14 +0000
+++ new/lib/ldscripts/i386go32.xbn 2008-03-28 14:20:50 +0000
@@ -19,3 +19,2 @@
*(.ctor)
- *(.ctors)
djgpp_last_ctor = . ;
@@ -24,7 +23,3 @@
*(.dtor)
- *(.dtors)
djgpp_last_dtor = . ;
- __environ = . ;
- PROVIDE(_environ = .) ;
- LONG(0) ;
*(.data)
diff -aru1 old/llib/ldscripts/i386go32.xn new/lib/ldscripts/i386go32.xn
--- old/llib/ldscripts/i386go32.xn 2007-03-16 15:51:14 +0000
+++ new/lib/ldscripts/i386go32.xn 2008-03-28 14:20:50 +0000
@@ -19,3 +19,2 @@
*(.ctor)
- *(.ctors)
djgpp_last_ctor = . ;
@@ -24,7 +23,3 @@
*(.dtor)
- *(.dtors)
djgpp_last_dtor = . ;
- __environ = . ;
- PROVIDE(_environ = .) ;
- LONG(0) ;
*(.data)
diff -aru1 old/llib/ldscripts/i386go32.xr new/lib/ldscripts/i386go32.xr
--- old/llib/ldscripts/i386go32.xr 2007-03-16 15:51:14 +0000
+++ new/lib/ldscripts/i386go32.xr 2008-03-28 14:20:50 +0000
@@ -11,5 +11,2 @@
.data : {
- __environ = . ;
- PROVIDE(_environ = .) ;
- LONG(0) ;
*(.data)
diff -aru1 old/llib/ldscripts/i386go32.xu new/lib/ldscripts/i386go32.xu
--- old/llib/ldscripts/i386go32.xu 2007-03-16 15:51:14 +0000
+++ new/lib/ldscripts/i386go32.xu 2008-03-28 14:20:50 +0000
@@ -11,5 +11,2 @@
.data : {
- __environ = . ;
- PROVIDE(_environ = .) ;
- LONG(0) ;
*(.data)

0 new messages