[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in glibc 2.3.2 when gcc is compiled with --disable-shared
From: |
Byron Stanoszek |
Subject: |
Bug in glibc 2.3.2 when gcc is compiled with --disable-shared |
Date: |
Sun, 2 Mar 2003 14:52:03 -0500 (EST) |
Glibc does not compile due to a parse error in libc.so.lds when compiling with
a GCC that was configured with the --disable-shared option.
gcc -v:
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/specs
Configured with: ../configure --prefix=/usr --enable-languages=c,c++
--disable-shared
Thread model: posix
gcc version 3.2.2
Recompiling gcc without --disable-shared solved the problem.
The parse error is on line 109 of the file libc.so.lds, which looks like this:
wildcard. The wildcard also means that it
doesn't matter which directory crtbegin.o
is in. */
KEEP (*crtbegin.o(.ctors))
/* We don't want to include the .ctor section from
: from the crtend.o file until after the sorted ctors.
: The .ctor section from the crtend file contains the
107: end of ctors marker and it must be last */
108:KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
109:K/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x55):
In function `size_of_encoded_value':
/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-pe.h:76: undefined reference
to `abort'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x1c4):
In function `read_encoded_value_with_base':
/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-pe.h:243: undefined reference
to `abort'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x2d0):
In function `__register_frame':
/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-dw2-fde.c:113: undefined
reference to `malloc'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x3dc):
In function `__register_frame_table':
/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-dw2-fde.c:151: undefined
reference to `malloc'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x4a1):
In function `__deregister_frame_info_bases':
/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-dw2-fde.c:210: undefined
reference to `abort'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x4b3):/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-dw2-fde.c:195:
undefined reference to `free'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x55e):
In function `__deregister_frame':
/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-dw2-fde.c:228: undefined
reference to `free'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x5c6):
In function `base_from_object':
/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-dw2-fde.c:253: undefined
reference to `abort'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x607):
In function `get_cie_encoding':
/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-dw2-fde.c:271: undefined
reference to `strlen'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x1176):
In function `base_from_cb_data':
/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-dw2-fde-glibc.c:103:
undefined reference to `abort'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x14b6):
In function `_Unwind_IteratePhdrCallback':
/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-dw2-fde-glibc.c:231:
undefined reference to `abort'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x152f):
In function `_Unwind_Find_FDE':
/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-dw2-fde-glibc.c:283:
undefined reference to `dl_iterate_phdr'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x16eb):
In function `init_object':
/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-dw2-fde.c:582: undefined
reference to `free'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x1797):/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-dw2-fde.c:393:
undefined reference to `malloc'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x17ad):/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-dw2-fde.c:396:
undefined reference to `malloc'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc.a(unwind-dw2-fde-glibc.o)(.text+0x1809):/usr/local/src/gcc-3.2.2/obj/gcc/../../gcc/unwind-dw2-fde.c:579:
undefined reference to `abort'
EEP (*(SORT(.ctors.*)))
KEEP (*(.ctors))
}
.dtors :
{
KEEP (*crtbegin.o(.dtors))
KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
...
...
-Byron
--
Byron Stanoszek Ph: (330) 644-3059
Systems Programmer Fax: (330) 644-8110
Commercial Timesharing Inc. Email: address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug in glibc 2.3.2 when gcc is compiled with --disable-shared,
Byron Stanoszek <=