Debian bug report logs - #1643 , boring messages ----------------------------------------------------------------------- Message sent to debian-devel@pixar.com: Subject: Bug#1643: ld gets fatal eror when linking for profiling Reply-To: Dirk.Eddelbuettel@qed.econ.queensu.ca, debian-bugs@pixar.com Resent-From: Dirk.Eddelbuettel@qed.econ.queensu.ca Resent-To: debian-devel@pixar.com Resent-Date: Wed, 11 Oct 1995 16:18:02 GMT Resent-Message-ID: Resent-Sender: iwj10@cus.cam.ac.uk X-Debian-PR-Package: binutils X-Debian-PR-Keywords: Received: via spool for debian-bugs; Wed, 11 Oct 1995 16:18:02 GMT Received: with rfc822 via encapsulated-mail; Wed, 11 Oct 1995 16:08:09 GMT Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0t33aD-00064oC; Wed, 11 Oct 95 09:00 PDT Received: from post.QueensU.CA (knot.QueensU.CA) by pixar.com with SMTP id AA19327 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Wed, 11 Oct 1995 09:00:18 -0700 Received: from miles.econ.queensu.ca (free1-slip203.tele.QueensU.CA [130.15.126.203]) by post.QueensU.CA (8.6.12/8.6.10+ASH) with SMTP id MAA09667 for ; Wed, 11 Oct 1995 12:00:32 -0400 Received: by miles.econ.queensu.ca id (Debian /\oo/\ Smail3.1.29.1 #29.33); Wed, 11 Oct 95 11:58 EDT Message-Id: Date: Wed, 11 Oct 95 11:58 EDT To: Debian Bugs From: Dirk.Eddelbuettel@qed.econ.queensu.ca Package: binutils Version: 2.5.2 Revision: 3 Linking a C or C++ program for profiling causes `ld' to die with ld: Output file requires shared library `libc.so.4' gcc: Internal compiler error: program ld got fatal signal 6 as soon as a library is involved. A simple program `foo.c' can be linked with gcc -o foo foo.o -pg but as soon as, say, a math.h function and the `-lm' switch are added the fatal error can be reproduced. I use the most recent gcc and friends from debian-0.93/binary/devel. -- Dirk.Eddelbuettel@qed.econ.queensu.ca http://qed.econ.queensu.ca/~edd ----------------------------------------------------------------------- Message sent: From: iwj10@thor.cam.ac.uk (Ian Jackson) To: Dirk.Eddelbuettel@qed.econ.queensu.ca Subject: Bug#1643: Acknowledgement (was: ld gets fatal eror when linking for profiling) In-Reply-To: References: Thank you for the problem report you have sent regarding Debian GNU/Linux. This is an automatically generated reply, to let you know your message has been received. It is being forwarded to the developers' mailing list for their attention; they will reply in due course. If you wish to submit further information on your problem, please send it to debian-bugs@pixar.com, but please ensure that the Subject line of your message starts with "Bug#1643" or "Re: Bug#1643" so that we can identify it as relating to the same problem. Please do not reply to the address at the top of this message, unless you wish to report a problem with the bug-tracking system. Ian Jackson (maintainer, debian-bugs) ----------------------------------------------------------------------- Message sent to debian-devel@pixar.com: Subject: Bug#1643: ld gets fatal eror when linking for profiling Reply-To: Michael E. Deisher , debian-bugs@pixar.com Resent-From: Michael E. Deisher Resent-To: debian-devel@pixar.com Resent-Date: Wed, 11 Oct 1995 19:03:01 GMT Resent-Message-ID: Resent-Sender: iwj10@cus.cam.ac.uk X-Debian-PR-Package: binutils X-Debian-PR-Keywords: Received: via spool for debian-bugs; Wed, 11 Oct 1995 19:03:01 GMT Received: with rfc822 via encapsulated-mail; Wed, 11 Oct 1995 19:00:08 GMT Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0t36Mg-0006ZQC; Wed, 11 Oct 95 11:58 PDT Received: from asuvax.EAS.ASU.EDU by pixar.com with SMTP id AA01337 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Wed, 11 Oct 1995 11:58:31 -0700 Received: from ganges (enws428.EAS.ASU.EDU) by asuvax.eas.asu.edu with SMTP id AA01212 (5.65c/IDA-1.4.4 for debian-bugs@pixar.com); Wed, 11 Oct 1995 11:56:18 -0700 Received: by ganges (5.x/SMI-SVR4) id AA09660; Wed, 11 Oct 1995 11:58:22 -0700 Date: Wed, 11 Oct 1995 11:58:22 -0700 Message-Id: <9510111858.AA09660@ganges> From: Michael E. Deisher To: Dirk.Eddelbuettel@qed.econ.queensu.ca, debian-bugs@pixar.com Cc: debian-bugs@pixar.com In-Reply-To: (Dirk.Eddelbuettel@qed.econ.queensu.ca) On Wed, 11 Oct 95 11:58 EDT, Dirk.Eddelbuettel@qed.econ.queensu.ca said: > Linking a C or C++ program for profiling causes `ld' to die with ld: > Output file requires shared library `libc.so.4' gcc: Internal > compiler error: program ld got fatal signal 6 as soon as a library > is involved. A simple program `foo.c' can be linked with gcc -o foo > foo.o -pg but as soon as, say, a math.h function and the `-lm' > switch are added the fatal error can be reproduced. I use the most > recent gcc and friends from debian-0.93/binary/devel. I don't think it has to do with profiling. I just got the following error. I am NOT linking with "-pg". diannau% make gcc -g -g -O2 -Wall -D_POSIX_SOURCE -o xp scanargs.o setools.o oldtools.o \ nrtools.o nrutil.o xp.c -L/usr/X11R6/lib -lsx -lXaw -lXmu -lXt -lX11 -lm ld: Output file requires shared library `libc.so.4' gcc: Internal compiler error: program ld got fatal signal 6 make: *** [xp] Error 1 It's strange because other programs I've written compile just fine under Debian. :-/ I'm using lots of math functions, though. Perhaps you are right about it having something to do with libm. --Mike ----------------------------------------------------------------------- Message sent: From: iwj10@thor.cam.ac.uk (Ian Jackson) To: Michael E. Deisher Subject: Bug#1643: Info received (was Bug#1643: ld gets fatal eror when linking for profiling) In-Reply-To: <9510111858.AA09660@ganges> References: <9510111858.AA09660@ganges> Thank you for the additional information you have supplied regarding this problem report. It has been forwarded to the developers to accompany the original report. If you wish to continue to submit further information on your problem, please do the same thing again: send it to debian-bugs@pixar.com, ensuring that the Subject line starts with "Bug#1643" or "Re: Bug#1643" so that we can identify it as relating to the same problem. Please do not reply to the address at the top of this message, unless you wish to report a problem with the bug-tracking system. Ian Jackson (maintainer, debian-bugs) ----------------------------------------------------------------------- Message sent to debian-devel@pixar.com: Subject: Bug#1643: ld gets fatal eror when linking for profiling Reply-To: Michael E. Deisher , debian-bugs@pixar.com Resent-From: Michael E. Deisher Resent-To: debian-devel@pixar.com Resent-Date: Wed, 11 Oct 1995 19:33:02 GMT Resent-Message-ID: Resent-Sender: iwj10@cus.cam.ac.uk X-Debian-PR-Package: binutils X-Debian-PR-Keywords: Received: via spool for debian-bugs; Wed, 11 Oct 1995 19:33:02 GMT Received: with rfc822 via encapsulated-mail; Wed, 11 Oct 1995 19:24:46 GMT Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0t36kK-0002BMC; Wed, 11 Oct 95 12:23 PDT Received: from asuvax.EAS.ASU.EDU by pixar.com with SMTP id AA03142 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Wed, 11 Oct 1995 12:22:57 -0700 Received: from ganges (enws428.EAS.ASU.EDU) by asuvax.eas.asu.edu with SMTP id AA02147 (5.65c/IDA-1.4.4 for debian-bugs@pixar.com); Wed, 11 Oct 1995 12:19:57 -0700 Received: by ganges (5.x/SMI-SVR4) id AA10006; Wed, 11 Oct 1995 12:22:02 -0700 Date: Wed, 11 Oct 1995 12:22:02 -0700 Message-Id: <9510111922.AA10006@ganges> From: Michael E. Deisher To: debian-bugs@pixar.com Cc: Dirk.Eddelbuettel@qed.econ.queensu.ca In-Reply-To: <9510111858.AA09660@ganges> (message from Michael E. Deisher on Wed, 11 Oct 1995 11:58:22 -0700) On Wed, 11 Oct 1995 11:58:22 -0700, Michael E. Deisher said: > On Wed, 11 Oct 95 11:58 EDT, Dirk.Eddelbuettel@qed.econ.queensu.ca > said: >> Linking a C or C++ program for profiling causes `ld' to die with >> ld: Output file requires shared library `libc.so.4' gcc: Internal >> compiler error: program ld got fatal signal 6 as soon as a library >> is involved. A simple program `foo.c' can be linked with gcc -o foo >> foo.o -pg but as soon as, say, a math.h function and the `-lm' >> switch are added the fatal error can be reproduced. I use the most >> recent gcc and friends from debian-0.93/binary/devel. > I don't think it has to do with profiling. I just got the following > error. I am NOT linking with "-pg". I just tried turning off debugging altogether. My code compiles just fine. If I turn debugging back on (by passing a single "-g" to gcc), I get: ld: Output file requires shared library `libc.so.4' gcc: Internal compiler error: program ld got fatal signal 6 Not good. --Mike ----------------------------------------------------------------------- Message sent: From: iwj10@thor.cam.ac.uk (Ian Jackson) To: Michael E. Deisher Subject: Bug#1643: Info received (was Bug#1643: ld gets fatal eror when linking for profiling) In-Reply-To: <9510111922.AA10006@ganges> References: <9510111922.AA10006@ganges> Thank you for the additional information you have supplied regarding this problem report. It has been forwarded to the developers to accompany the original report. If you wish to continue to submit further information on your problem, please do the same thing again: send it to debian-bugs@pixar.com, ensuring that the Subject line starts with "Bug#1643" or "Re: Bug#1643" so that we can identify it as relating to the same problem. Please do not reply to the address at the top of this message, unless you wish to report a problem with the bug-tracking system. Ian Jackson (maintainer, debian-bugs) ----------------------------------------------------------------------- Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking mechanism This page last modified 07:43:01 GMT Wed 01 Nov