Cc Fatal Error In Ld Segmentation Fault Core Dumped
Contents |
[x] Bug2729 - ld terminated with signal 11 [Segmentation fault] Summary: ld terminated with signal 11 [Segmentation fault] Status:
Ld Terminated With Signal 11 Segmentation Fault Core Dumped
WAITING Alias: None Product: binutils Classification: Unclassified Component: ld (show other bugs) collect2 ld terminated with signal 11 segmentation fault core dumped Version: 2.19 Importance: P2 normal Target Milestone: --- Assignee: unassigned URL: Keywords: Depends on: Blocks: Reported: 2006-06-06
Segmentation Fault Core Dumped Linux
17:12 UTC by Martin Koeppe Modified: 2009-07-15 19:09 UTC (History) CC List: 3 users (show) bug-binutils christian.joensson dannysmith See Also: Host: i686-pc-linux-gnu Target: i586-pc-interix3 Build: i686-pc-linux-gnu Last reconfirmed: Attachments segmentation fault core dumped ubuntu object file that fails linking (189 bytes, application/octet-stream) 2006-06-08 19:37 UTC, Martin Koeppe Details Cope with missing .idata sections when building DataDictionary (397 bytes, patch) 2006-06-22 17:43 UTC, Nick Clifton Details | Diff Real version of previous patch (1.10 KB, patch) 2006-06-23 14:30 UTC, Nick Clifton Details | Diff cref table from working interix ld (2.55 KB, text/plain) 2006-06-24 01:31 segmentation fault core dumped c UTC, Martin Koeppe Details cref table from failing cross ld (2.57 KB, text/plain) 2006-06-24 01:32 UTC, Martin Koeppe Details Show Obsolete (1) View All Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Martin Koeppe 2006-06-06 17:12:00 UTC Hello, I tried to build a cross compiler on linux to build tools for interix 3.5. I managed to build such a compiler and linker, and the compiler seems to work fine, but the linker doesn't. Linux platform is Debian etch, kernel 2.6.11, gcc-4.0. I used binutils 2.16.91 20060413 (currently ships with debian etch) and configured with --target=i586-pc-interix3 --with-gnu-as --with-gnu-ld For cross-gcc, I used gcc-4.1.0 and configured with --target=i586-pc-interix3 --enable-languages=c --enable-threads=no --disable-shared --with-stabs --enable-nls --disable-libssp --with-gnu-as --with-gnu-ld I tried the following short program: int main() { return 3; } and got: $ i586-pc-interix3-gcc -c hello.c so compiling is ok, but ... $ i586-pc-interix3-gcc hello.o collect2: ld terminated with signal 11 [Segmentation fault] /usr/local/lib/gcc/i586-pc-interix3/4.1.0/libgcc.a(__main.o): In function `__do_global_ctors': /srv/src/gcc-4.1/build2/gcc/../../src/gcc/libgcc2.c:1956: undefined reference to `_atexit' /u
van GoogleInloggenVerborgen veldenZoeken naar groepen of berichten
[x] User account creation filtered due to spam. Bug33357 - collect2: ld terminated with signal 11 [Segmentation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33357 fault] Summary: collect2: ld terminated with signal 11 [Segmentation fault] Status: https://lists.gnu.org/archive/html/bug-gnu-emacs/2005-03/msg00098.html RESOLVED INVALID Alias: None Product: gcc Classification: Unclassified Component: other (show other bugs) Version: 4.1.0 Importance: P3 normal Target Milestone: --- Assignee: Not yet assigned to anyone URL: Keywords: Depends on: Blocks: Reported: 2007-09-08 19:27 UTC by Don Cohen Modified: 2010-05-22 17:33 UTC (History) CC segmentation fault List: 1 user (show) gcc-bugs See Also: Host: Target: Build: Known to work: Known to fail: Last reconfirmed: Attachments Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Don Cohen 2007-09-08 19:27:22 UTC I don't know how to fill in much segmentation fault core of this form but I hope all will be clear from the following transcript. I'm hoping for advice on what to do (upgrade?) to fix the problem or failing that what to do to help diagnose it. === dcohen@saturn:~/mysql-5.0.45/client> g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o .libs/mysql mysql.o readline.o sql_string .o completion_hash.o ../cmd-line-utils/libedit/libedit.a -lncurses ../libmysql/ .libs/libmysqlclient.so -lcrypt -lnsl -lm -lz -Wl,--rpath -Wl,/home/dcohen/mysql /lib/mysql collect2: ld terminated with signal 11 [Segmentation fault] dcohen@saturn:~/mysql-5.0.45/client> g++ --version g++ (GCC) 4.1.0 (SUSE Linux) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. dcohen@saturn:~/mysql-5.0.45/client> uname -a Linux saturn 2.6.16.27-0.9-default #1 SMP Tue Feb 13 09:35:18 UTC 2007 ia64 ia64 ia64 GNU/Linux dcohen@saturn:~/mysql-5.0.45/client> Comment 1 Andrew Pinski 2007-09-08 19:29:20 UTC This is ld crashing and ld is part of the binutils project. Comment 2 Don Cohen 2007-09-09 03:43:54 UTC Subject: collect2: ld terminated with signal 11 [Segmentation fault] pinskia at gcc dot gnu
dumped) Date: Tue, 15 Mar 2005 17:31:58 -0800 Downloaded and compiled emacs using commands configure --prefix=/u/bwest exec_prefix=/u/bwest make >& make.log src/emacs -q on exiting emacs, received the message Fatal error (11).Segmentation fault (core dumped) As far as I can tell (in a few minutes) emacs behaves normally until I exit with C-x/C-c in the file make.log the word "error" appears once in the context Dumping under names emacs and emacs-21.4.1 715440 pure bytes used ./emacs -q -batch -f list-load-path-shadows Fatal error (11).make[1]: *** [emacs] Segmentation Fault (core dumped) Eleven warnings, none significant (all say warning: comparison is always true due to limited range of data type) Perhaps info from config.log might be useful (doesn't look like it to me)? ld: fatal: library -lossaudio: not found ld: fatal: File processing errors. No output written to conftest ld: fatal: Symbol referencing errors. No output written to conftest ld: fatal: Symbol referencing errors. No output written to conftest ld: fatal: Symbol referencing errors. No output written to conftest ld: fatal: library -ldnet: not found ld: fatal: File processing errors. No output written to conftest ld: fatal: library -lXbsd: not found ld: fatal: File processing errors. No output written to conftest ld: fatal: library -lpthreads: not found ld: fatal: File processing errors. No output written to conftest ld: fatal: library -llockfile: not found ld: fatal: File processing errors. No output written to conftest ld: fatal: Symbol referencing errors. No output written to conftest ld: fatal: Symbol referencing errors. No output written to conftest ld: fatal: Symbol referencing errors. No output written to conftest ld: fatal: library -lncurses: not found ld: fatal: File processing errors. No output written to conftest -- _\\|//_ (' @-@ `) .==========oOOo-(_)-oOOo============. / Dr. Burnell G. West \ | Chief Architect | | 408 586-6824 | | fax: 586-4676 | | address@hidden | o \ ,@ ,@ ,@ ,@ ,@ ,@ ,@ / o o o^^^VV^ ^VV^ ^VV^ ^VV^ ^VV^ ^VV^ ^VV^ ^VV^^^o o o o o o Credence Systems o o o o o o o o o o o o o 150 Baytech Drive o o o o o o o o o o o San Jose, CA 95134-2302 o o o o o o o o^^^VV^ ^VV^ ^VV^ ^VV^ ^VV^ ^VV^ ^VV^ ^VV^^^o o o reply via email to [Prev in Thread] Current Thread [Next in Thread] Fatal error (11).Segmentation fault (core dumped), Burnie West<= Prev by Date: Re: Phar.maaccy/17GPD-927 Next by Date: Re: Info tooltip for *Menu items Previous b