Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-11 Thread O. Hartmann
compiled by gcc ran OK. your patch seems to work just fine. No crashes whatsoever so far. Thank you. I have committed a slighly cleaned-up version of this hack in r245272, so until this is fixed by upstream, everybody will at least have a correctly functioning libgcc on amd64. Since this issue

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-11 Thread Larry Rosenman
functioning libgcc on amd64. Since this issue can potentially also occur on stable/9, I will MFC the fix too, after a few days timeout. ___ Very appreciated and thanks. oh For the record, I rebuilt my world/kernel after this commit, and rebuilt VirtualBox

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-10 Thread Dimitry Andric
just fine. No crashes whatsoever so far. Thank you. I have committed a slighly cleaned-up version of this hack in r245272, so until this is fixed by upstream, everybody will at least have a correctly functioning libgcc on amd64. Since this issue can potentially also occur on stable/9, I will MFC

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-10 Thread Stefan Farfeleder
the crashes, but when compiled by gcc ran OK. your patch seems to work just fine. No crashes whatsoever so far. Thank you. I have committed a slighly cleaned-up version of this hack in r245272, so until this is fixed by upstream, everybody will at least have a correctly functioning libgcc

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-08 Thread David Chisnall
On 7 Jan 2013, at 23:21, Dimitry Andric wrote: This is at least the direction I'm looking at. It seems that in some cases with __builtin_eh_return(), llvm does not see that registers can be clobbered, and it doesn't save and restore them. Do you mean that some registers were clobbered by a

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-08 Thread Stefan Farfeleder
. Can you please try the attached patch, which is a very horrid, atrocious hack, and will only work for amd64. Then rebuild libgcc with clang, and please try if this fixes at least some of the crashes... This is at least the direction I'm looking at. It seems that in some cases

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-08 Thread Dimitry Andric
to reproduce. I think I still have another unrelated issue in libgcc with clang, but this only occurs when compiling the testcases with gcc 4.7, and very high optimization. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-08 Thread Борис Самородов
08.01.2013 03:21, Dimitry Andric пишет: Can you please try the attached patch, which is a very horrid, atrocious hack, and will only work for amd64. Then rebuild libgcc with clang, and please try if this fixes at least some of the crashes... The patch fixed building editors/libreoffice

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-07 Thread Stefan Farfeleder
On Sun, Jan 06, 2013 at 04:51:11PM +, David Chisnall wrote: On 6 Jan 2013, at 16:48, Nathan Whitehorn wrote: No. It's completely broken at all optimization levels. There do not appear to be any flags that change the behavior. Building unwind-dw2.c either with gcc or with the previous

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-07 Thread Dimitry Andric
, atrocious hack, and will only work for amd64. Then rebuild libgcc with clang, and please try if this fixes at least some of the crashes... This is at least the direction I'm looking at. It seems that in some cases with __builtin_eh_return(), llvm does not see that registers can be clobbered

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-06 Thread Stefan Farfeleder
On Fri, Jan 04, 2013 at 04:49:41PM +0100, Stefan Farfeleder wrote: Here's a minimal test case that reproduces the bug: [...] Until someone fixes this bug, could we apply something like this as a work-around? Stefan Index: gnu/lib/libgcc/Makefile

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-06 Thread Dimitry Andric
On 2013-01-06 15:17, Stefan Farfeleder wrote: On Fri, Jan 04, 2013 at 04:49:41PM +0100, Stefan Farfeleder wrote: Here's a minimal test case that reproduces the bug: [...] Until someone fixes this bug, could we apply something like this as a work-around? Stefan Index: gnu/lib/libgcc/Makefile

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-06 Thread Nathan Whitehorn
-around? Stefan Index: gnu/lib/libgcc/Makefile === --- gnu/lib/libgcc/Makefile(revision 245055) +++ gnu/lib/libgcc/Makefile(working copy) @@ -6,6 +6,8 @@ SHLIB_NAME=libgcc_s.so.1 SHLIBDIR?=/lib +CC=gcc

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-06 Thread Stefan Farfeleder
something like this as a work-around? Stefan Index: gnu/lib/libgcc/Makefile === --- gnu/lib/libgcc/Makefile (revision 245055) +++ gnu/lib/libgcc/Makefile (working copy) @@ -6,6 +6,8 @@ SHLIB_NAME= libgcc_s.so.1

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-06 Thread Nathan Whitehorn
we apply something like this as a work-around? Stefan Index: gnu/lib/libgcc/Makefile === --- gnu/lib/libgcc/Makefile(revision 245055) +++ gnu/lib/libgcc/Makefile(working copy) @@ -6,6 +6,8 @@ SHLIB_NAME

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-06 Thread David Chisnall
/libgcc/Makefile === --- gnu/lib/libgcc/Makefile (revision 245055) +++ gnu/lib/libgcc/Makefile (working copy) @@ -6,6 +6,8 @@ SHLIB_NAME= libgcc_s.so.1 SHLIBDIR?=/lib +CC= gcc + .include bsd.own.mk # # libgcc

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-06 Thread Nathan Whitehorn
this as a work-around? Stefan Index: gnu/lib/libgcc/Makefile === --- gnu/lib/libgcc/Makefile (revision 245055) +++ gnu/lib/libgcc/Makefile (working copy) @@ -6,6 +6,8 @@ SHLIB_NAME= libgcc_s.so.1 SHLIBDIR?= /lib +CC= gcc

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-06 Thread David Chisnall
On 6 Jan 2013, at 16:48, Nathan Whitehorn wrote: No. It's completely broken at all optimization levels. There do not appear to be any flags that change the behavior. Building unwind-dw2.c either with gcc or with the previous import of clang in our tree does fix it, however. Do you have an

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-05 Thread Stefan Farfeleder
On Fri, Jan 04, 2013 at 10:23:34PM +0200, Konstantin Belousov wrote: Thank you for digging more. In fact, it is more likely that there is some bug or incompatibility in c++ unwinder than in the libgcc itself, but as you noted, a compiler bug is also possible. Anyway, I was mostly

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-04 Thread Stefan Farfeleder
to have something to do with throwing exceptions, but I am still not sure whether I am looking at a bug in boost, gcc, clang, or libgcc... Do you happen to have a smaller testcase, by any chance? Not yet, but I'll try to come up with something smaller. Here's a minimal test case

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-04 Thread Konstantin Belousov
the crashes, I am still at a loss about the cause. It does seem to have something to do with throwing exceptions, but I am still not sure whether I am looking at a bug in boost, gcc, clang, or libgcc... Do you happen to have a smaller testcase, by any chance? Not yet, but I'll

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-04 Thread Stefan Farfeleder
error (core dumped) ./a.out What is the backtrace ? Compile the system libraries (ld-elf, libc, libgcc etc) with the debugging information and obtain the backtrace once more. I'm afraid the backtrace is not really interesting: Program received signal SIGBUS, Bus error. std::string::_Rep

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-04 Thread Konstantin Belousov
) { return 1; } } $ g++ -O2 -finline-limit=0 throw-crash.cc $ ./a.out zsh: bus error (core dumped) ./a.out What is the backtrace ? Compile the system libraries (ld-elf, libc, libgcc etc) with the debugging information and obtain the backtrace once more. I'm afraid

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-04 Thread Mark Atkinson
1; } } $ g++ -O2 -finline-limit=0 throw-crash.cc $ ./a.out zsh: bus error (core dumped) ./a.out What is the backtrace ? Compile the system libraries (ld-elf, libc, libgcc etc) with the debugging information and obtain the backtrace once more. I'm afraid the backtrace is not really

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-04 Thread Nathan Whitehorn
) { return 1; } } $ g++ -O2 -finline-limit=0 throw-crash.cc $ ./a.out zsh: bus error (core dumped) ./a.out What is the backtrace ? Compile the system libraries (ld-elf, libc, libgcc etc) with the debugging information and obtain the backtrace once more. I'm afraid the backtrace

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-02 Thread Stefan Farfeleder
whether I am looking at a bug in boost, gcc, clang, or libgcc... Do you happen to have a smaller testcase, by any chance? Not yet, but I'll try to come up with something smaller. Stefan ___ freebsd-current@freebsd.org mailing list http

Re: clang 3.2 RC2 miscompiles libgcc?

2013-01-02 Thread Eitan Adler
something to do with throwing exceptions, but I am still not sure whether I am looking at a bug in boost, gcc, clang, or libgcc... Do you happen to have a smaller testcase, by any chance? Not yet, but I'll try to come up with something smaller. Take a look at devel/delta as well as creduce

Re: clang 3.2 RC2 miscompiles libgcc?

2012-12-30 Thread Dimitry Andric
to compile libgcc in a wrong or at least incompatible way with what gcc expects. In fact, the breakage only occurs with libgcc compiled by a post-r243830 clang and an application compiled with g++ -O2. For me, the crash happens with boost::program_options, but I'm not sure if that is necessary

clang 3.2 RC2 miscompiles libgcc?

2012-12-27 Thread Stefan Farfeleder
Hi, I noticed that most of my C++ applications in recent versions of FreeBSD head suddenly crash without me recompiling them. I tracked it down to r243830 which imported a new clang version. The new clang seems to compile libgcc in a wrong or at least incompatible way with what gcc expects

Re: clang 3.2 RC2 miscompiles libgcc?

2012-12-27 Thread Nathan Whitehorn
On 12/27/12 09:07, Stefan Farfeleder wrote: Hi, I noticed that most of my C++ applications in recent versions of FreeBSD head suddenly crash without me recompiling them. I tracked it down to r243830 which imported a new clang version. The new clang seems to compile libgcc in a wrong

Re: clang 3.2 RC2 miscompiles libgcc?

2012-12-27 Thread Stefan Farfeleder
clang version. The new clang seems to compile libgcc in a wrong or at least incompatible way with what gcc expects. In fact, the breakage only occurs with libgcc compiled by a post-r243830 clang and an application compiled with g++ -O2. For me, the crash happens with boost::program_options

Re: Tested wanted: BSD-licensed libgcc replacement, libcompiler_rt

2010-10-25 Thread Rene Ladan
On 22-10-2010 16:30, Ed Schouten wrote: Hello everyone, At EuroBSDCon I was talking with some committers active in the area of Clang (brooks, kwm, others) about replacing our libgcc shipped with GCC 4.2.1 with a BSD-licensed version. The LLVM folks have a BSD licensed implementation called

Re: Tested wanted: BSD-licensed libgcc replacement, libcompiler_rt

2010-10-23 Thread Ed Schouten
Hi all, * Ed Schouten e...@80386.nl, 20101022 16:30: At EuroBSDCon I was talking with some committers active in the area of Clang (brooks, kwm, others) about replacing our libgcc shipped with GCC 4.2.1 with a BSD-licensed version. The LLVM folks have a BSD licensed implementation called

Tested wanted: BSD-licensed libgcc replacement, libcompiler_rt

2010-10-22 Thread Ed Schouten
Hello everyone, At EuroBSDCon I was talking with some committers active in the area of Clang (brooks, kwm, others) about replacing our libgcc shipped with GCC 4.2.1 with a BSD-licensed version. The LLVM folks have a BSD licensed implementation called libcompiler_rt. See: http://compiler

Re: Tested wanted: BSD-licensed libgcc replacement, libcompiler_rt

2010-10-22 Thread Ed Schouten
* Ed Schouten e...@80386.nl, 20101022 16:30: - Rebuild all your software (yes, I know it's unfortunate). Right after I sent this, I thought I'd better clarify this. You don't need to rebuild your software. This change will not break the existing ABI. This step is just mentioned here, since

symbol versioning on libgcc?

2010-08-30 Thread Steve Kargl
I know that several libraries in FreeBSD uses symbol versioning. In looking through src/ I was unable to determine whether symbol versioning is used on libgcc. Any guidance would be appreciated. -- Steve ___ freebsd-current@freebsd.org mailing list

Re: symbol versioning on libgcc?

2010-08-30 Thread Andriy Gapon
on 30/08/2010 20:32 Steve Kargl said the following: I know that several libraries in FreeBSD uses symbol versioning. In looking through src/ I was unable to determine whether symbol versioning is used on libgcc. Any guidance would be appreciated. Check out output of e.g. objdump -T /usr

Re: symbol versioning on libgcc?

2010-08-30 Thread Steve Kargl
On Mon, Aug 30, 2010 at 08:43:40PM +0300, Andriy Gapon wrote: on 30/08/2010 20:32 Steve Kargl said the following: I know that several libraries in FreeBSD uses symbol versioning. In looking through src/ I was unable to determine whether symbol versioning is used on libgcc. Any

Re: symbol versioning on libgcc?

2010-08-30 Thread Boris Kochergin
Steve Kargl wrote: I know that several libraries in FreeBSD uses symbol versioning. In looking through src/ I was unable to determine whether symbol versioning is used on libgcc. Any guidance would be appreciated. I don't think it is. I haven't poked at any sources

Re: symbol versioning on libgcc?

2010-08-30 Thread Boris Kochergin
Alexander Kabaev wrote: On Mon, 30 Aug 2010 13:36:03 -0400 Boris Kochergin sp...@acm.poly.edu wrote: Steve Kargl wrote: I know that several libraries in FreeBSD uses symbol versioning. In looking through src/ I was unable to determine whether symbol versioning is used on libgcc

Re: symbol versioning on libgcc?

2010-08-30 Thread Steve Kargl
whether symbol versioning is used on libgcc. Any guidance would be appreciated. I don't think it is. I haven't poked at any sources, but there are no FBSD* symbols in /usr/lib/libgcc_s.so, which is what's used in symbol versioning in, say, /lib/libc.so.7. -Boris

Re: symbol versioning on libgcc?

2010-08-30 Thread Alexander Kabaev
On Mon, 30 Aug 2010 13:36:03 -0400 Boris Kochergin sp...@acm.poly.edu wrote: Steve Kargl wrote: I know that several libraries in FreeBSD uses symbol versioning. In looking through src/ I was unable to determine whether symbol versioning is used on libgcc. Any guidance would

Re: cvs commit: src/gnu/lib/csu Makefile src/gnu/lib/libgcc Makefile src/gnu/lib/libiberty Makefile src/gnu/lib/libobjc Makefile src/gnu/lib/libstdc++ Makefile config.h src/gnu/lib/libsupc++ Makefile src/gnu/usr.bin/cc Makefile Makefile.fe Makefile.inc ...

2002-05-12 Thread Ruslan Ermilov
On Sat, May 11, 2002 at 10:33:03AM -0700, David O'Brien wrote: On Sat, May 11, 2002 at 12:35:38PM +0300, Ruslan Ermilov wrote: I say again, the malloc usage is not in c-parse.in, it is in the parser driver produced by Byacc. OK, now that you've explained it: I'll look this patch

Re: cvs commit: src/gnu/lib/csu Makefile src/gnu/lib/libgcc Makefile src/gnu/lib/libiberty Makefile src/gnu/lib/libobjc Makefile src/gnu/lib/libstdc++ Makefile config.h src/gnu/lib/libsupc++ Makefile src/gnu/usr.bin/cc Makefile Makefile.fe Makefile.inc ...

2002-05-12 Thread David O'Brien
On Sat, May 11, 2002 at 10:33:03AM -0700, David O'Brien wrote: I'll look this patch over carefully, but at first glance it all seems like stylistic changes. Does it fix a bug, or you just don't like how I did things? The changes are mostly _not_ stylistic like .ORDER with one argument

Re: cvs commit: src/gnu/lib/csu Makefile src/gnu/lib/libgcc Makefile src/gnu/lib/libiberty Makefile src/gnu/lib/libobjc Makefile src/gnu/lib/libstdc++ Makefile config.h src/gnu/lib/libsupc++ Makefile src/gnu/usr.bin/cc Makefile Makefile.fe Makefile.inc ...

2002-05-12 Thread Ruslan Ermilov
On Sun, May 12, 2002 at 04:43:33AM -0700, David O'Brien wrote: On Sat, May 11, 2002 at 10:33:03AM -0700, David O'Brien wrote: I'll look this patch over carefully, but at first glance it all seems like stylistic changes. Does it fix a bug, or you just don't like how I did things?

Re: cvs commit: src/gnu/lib/csu Makefile src/gnu/lib/libgcc Makefile src/gnu/lib/libiberty Makefile src/gnu/lib/libobjc Makefile src/gnu/lib/libstdc++ Makefile config.h src/gnu/lib/libsupc++ Makefile src/gnu/usr.bin/cc Makefile Makefile.fe Makefile.inc ...

2002-05-12 Thread Terry Lambert
David O'Brien wrote: People are really making me regret that I sweated over GCC 3 to bring it into our tree for all of our architectures and to get many serious bugs fixed in the FSF CVS repository. Really? It must be in private email... from what I've seen, everything went incredibly

Re: cvs commit: src/gnu/lib/csu Makefile src/gnu/lib/libgcc Makefile src/gnu/lib/libiberty Makefile src/gnu/lib/libobjc Makefile src/gnu/lib/libstdc++ Makefile config.h src/gnu/lib/libsupc++ Makefile src/gnu/usr.bin/cc Makefile Makefile.fe Makefile.inc ...

2002-05-11 Thread Ruslan Ermilov
On Fri, May 10, 2002 at 04:41:53PM -0700, David O'Brien wrote: On Fri, May 10, 2002 at 06:04:27PM +0300, Ruslan Ermilov wrote: Bmake bits for Gcc 3.1. This also vanished my YACC building fixes and broke world while attempting to build `cc1plus' in a cross-tools stage. The changes

Re: cvs commit: src/gnu/lib/csu Makefile src/gnu/lib/libgcc Makefile src/gnu/lib/libiberty Makefile src/gnu/lib/libobjc Makefile src/gnu/lib/libstdc++ Makefile config.h src/gnu/lib/libsupc++ Makefile src/gnu/usr.bin/cc Makefile Makefile.fe Makefile.inc ...

2002-05-11 Thread David O'Brien
On Sat, May 11, 2002 at 10:44:11AM +0300, Ruslan Ermilov wrote: On Fri, May 10, 2002 at 04:41:53PM -0700, David O'Brien wrote: On Fri, May 10, 2002 at 06:04:27PM +0300, Ruslan Ermilov wrote: Bmake bits for Gcc 3.1. This also vanished my YACC building fixes and broke world while

Re: cvs commit: src/gnu/lib/csu Makefile src/gnu/lib/libgcc Makefile src/gnu/lib/libiberty Makefile src/gnu/lib/libobjc Makefile src/gnu/lib/libstdc++ Makefile config.h src/gnu/lib/libsupc++ Makefile src/gnu/usr.bin/cc Makefile Makefile.fe Makefile.inc ...

2002-05-11 Thread David O'Brien
On Sat, May 11, 2002 at 10:44:11AM +0300, Ruslan Ermilov wrote: The malloc usage is in the Byacc output, not the input. There's no difference, [b]yacc just copies C code blocks intact. No. Byacc copies C code blocks from the input grammer intact. It also adds more C code to the output. See

Re: cvs commit: src/gnu/lib/csu Makefile src/gnu/lib/libgcc Makefile src/gnu/lib/libiberty Makefile src/gnu/lib/libobjc Makefile src/gnu/lib/libstdc++ Makefile config.h src/gnu/lib/libsupc++ Makefile src/gnu/usr.bin/cc Makefile Makefile.fe Makefile.inc ...

2002-05-11 Thread Peter Wemm
Ruslan Ermilov wrote: On Fri, May 10, 2002 at 04:41:53PM -0700, David O'Brien wrote: On Fri, May 10, 2002 at 06:04:27PM +0300, Ruslan Ermilov wrote: Bmake bits for Gcc 3.1. =20 This also vanished my YACC building fixes and broke world while attempting to build `cc1plus' in a

Re: cvs commit: src/gnu/lib/csu Makefile src/gnu/lib/libgcc Makefile src/gnu/lib/libiberty Makefile src/gnu/lib/libobjc Makefile src/gnu/lib/libstdc++ Makefile config.h src/gnu/lib/libsupc++ Makefile src/gnu/usr.bin/cc Makefile Makefile.fe Makefile.inc ...

2002-05-11 Thread Ruslan Ermilov
On Sat, May 11, 2002 at 01:00:27AM -0700, David O'Brien wrote: On Sat, May 11, 2002 at 10:44:11AM +0300, Ruslan Ermilov wrote: On Fri, May 10, 2002 at 04:41:53PM -0700, David O'Brien wrote: On Fri, May 10, 2002 at 06:04:27PM +0300, Ruslan Ermilov wrote: Bmake bits for Gcc 3.1.

Re: cvs commit: src/gnu/lib/csu Makefile src/gnu/lib/libgcc Makefile src/gnu/lib/libiberty Makefile src/gnu/lib/libobjc Makefile src/gnu/lib/libstdc++ Makefile config.h src/gnu/lib/libsupc++ Makefile src/gnu/usr.bin/cc Makefile Makefile.fe Makefile.inc ...

2002-05-11 Thread David O'Brien
On Sat, May 11, 2002 at 12:35:38PM +0300, Ruslan Ermilov wrote: I say again, the malloc usage is not in c-parse.in, it is in the parser driver produced by Byacc. OK, now that you've explained it: I'll look this patch over carefully, but at first glance it all seems like stylistic

Re: cvs commit: src/gnu/lib/csu Makefile src/gnu/lib/libgcc Makefile src/gnu/lib/libiberty Makefile src/gnu/lib/libobjc Makefile src/gnu/lib/libstdc++ Makefile config.h src/gnu/lib/libsupc++ Makefile src/gnu/usr.bin/cc Makefile Makefile.fe Makefile.inc ...

2002-05-10 Thread Ruslan Ermilov
On Fri, May 10, 2002 at 01:54:50AM -0700, David E. O'Brien wrote: obrien 2002/05/10 01:54:50 PDT Modified files: gnu/lib/csu Makefile gnu/lib/libgcc Makefile gnu/lib/libibertyMakefile gnu/lib/libobjc Makefile gnu/lib/libstdc

Re: cvs commit: src/gnu/lib/csu Makefile src/gnu/lib/libgcc Makefile src/gnu/lib/libiberty Makefile src/gnu/lib/libobjc Makefile src/gnu/lib/libstdc++ Makefile config.h src/gnu/lib/libsupc++ Makefile src/gnu/usr.bin/cc Makefile Makefile.fe Makefile.inc ...

2002-05-10 Thread David O'Brien
On Fri, May 10, 2002 at 06:04:27PM +0300, Ruslan Ermilov wrote: Bmake bits for Gcc 3.1. This also vanished my YACC building fixes and broke world while attempting to build `cc1plus' in a cross-tools stage. The changes below fix this and CLEANFILES. These changes are wrong. RCS

Re: libgcc

2000-04-15 Thread David O'Brien
On Sat, Apr 15, 2000 at 11:26:44AM +0400, Ilmar S. Habibulin wrote: When does subj links with the executables? When using the ``cc'' or ``c++'' front ends libgcc.a is automatically linked in. Use ``cc -v'' to see this happening. I have many problems linking new KDE, because it uses service

Re: libgcc

2000-04-15 Thread Ilmar S. Habibulin
On Sat, 15 Apr 2000, David O'Brien wrote: On Sat, Apr 15, 2000 at 11:26:44AM +0400, Ilmar S. Habibulin wrote: When does subj links with the executables? When using the ``cc'' or ``c++'' front ends libgcc.a is automatically linked in. Use ``cc -v'' to see this happening. You mean to look

** HEADS UP ** cvs commit: src/gnu/usr.bin/cc/cc_tools Makefile src/gnu/lib/libgcc Makefile src/contrib/gcc/config freebsd.h src/contrib/gcc/config/i386 freebsd.h src/contrib/gcc/config/alpha freebsd.h

2000-03-23 Thread David O'Brien
didn't. So if you are some what cautious, you might want to hold off a day or two before your next buildworld. - Forwarded message from "David E. O'Brien" [EMAIL PROTECTED] - Modified files: gnu/usr.bin/cc/cc_tools Makefile gnu/lib/libgcc Makefile contrib/

Re: breakage in libgcc?

1999-10-10 Thread Poul-Henning Kamp
uot;i386/i386.h"' tm.h echo '#include "i386/att.h"' tm.h echo '#include "i386/freebsd.h"' tm.h echo '#include "i386/perform.h"' tm.h cc -c -O -pipe -I/usr/src/gnu/lib/libgcc/../../../contrib/egcs/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/egcs/gcc

Re: breakage in libgcc?

1999-10-10 Thread Randy Bush
*** Signal 12 Stop in /usr/src/gnu/lib/libgcc. *** Error code 1 Suspect that you need a newer kernel before you can build the world. had to o make new config o make new kernel o reboot o make world o ... must have been an exciting time in current while i was on the road the last

Re: breakage in libgcc?

1999-10-10 Thread Peter Wemm
i386/perform.h"' tm.h cc -c -O -pipe -I/usr/src/gnu/lib/libgcc/../../../contrib/egcs/gcc/config -I/ usr/src/gnu/lib/libgcc/../../../contrib/egcs/gcc -I. -fexceptions -DIN_GCC -I/usr/obj/usr/src/tmp/usr/include -DL_mulsi3 -o _mulsi3.o /usr/src/gnu/lib /libgcc/../../../contrib/egc

breakage in libgcc?

1999-10-09 Thread Randy Bush
just cvsupped echo '#include xm-freebsd.h' config.h echo '#include "i386/xm-i386.h"' tconfig.h echo '#include "i386/i386.h"' tm.h echo '#include "i386/att.h"' tm.h echo '#include "i386/freebsd.h"' tm.h echo '#include "i386/perform.h&quo

Re: breakage in libgcc?

1999-10-09 Thread Mike Smith
nclude "i386/freebsd.h"' tm.h echo '#include "i386/perform.h"' tm.h cc -c -O -pipe -I/usr/src/gnu/lib/libgcc/../../../contrib/egcs/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/egcs/gcc -I. -fexceptions -DIN_GCC -I/usr/obj/usr/src/tmp/usr/include -DL_mulsi3 -o _mulsi

Re: breakage in libgcc?

1999-10-09 Thread Randy Bush
just cvsupped Your system; I just finished a world not five minutes ago. Suspect the usual. ok. doing a make clean now randy To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: breakage in libgcc?

1999-10-09 Thread Brian F. Feldman
On Sat, 9 Oct 1999, Mike Smith wrote: just cvsupped Your system; I just finished a world not five minutes ago. Suspect the usual. Suspect that you need a newer kernel before you can build the world. *** Signal 12 Stop in /usr/src/gnu/lib/libgcc. *** Error code 1

libgcc

1999-05-29 Thread Chuck Robey
unable to find the symbol set_new_handler. This guy is defined in new.h (which points towards new, which has the very simple code for it). The problem is, the code for it is stuffed into libgcc.a. I thought libgcc was being deprecated, isn't that so? That only libstdc++ was going to be needed

Re: libgcc

1999-05-29 Thread John Polstra
In article pine.bsf.4.10.9905291806500.375-100...@picnic.mat.net, Chuck Robey chu...@picnic.mat.net wrote: I thought libgcc was being deprecated, isn't that so? That only libstdc++ was going to be needed? No, I think you're confusing libgcc with libg++. John -- John Polstra

Re: libgcc

1999-05-29 Thread Chuck Robey
On Sat, 29 May 1999, John Polstra wrote: In article pine.bsf.4.10.9905291806500.375-100...@picnic.mat.net, Chuck Robey chu...@picnic.mat.net wrote: I thought libgcc was being deprecated, isn't that so? That only libstdc++ was going to be needed? No, I think you're confusing libgcc

RE: thread-safe libgcc

1999-04-11 Thread Jeroen Ruigrok/Asmodai
On 11-Apr-99 Luoqi Chen wrote: For threaded applications to work correctly, we need a thread-safe version of libgcc. It is straight forward to build: define _PTHREADS in CFLAGS. We can have both versions just like libc and libc_r, and use the thread-safe version when linking threaded

thread-safe libgcc

1999-04-10 Thread Luoqi Chen
For threaded applications to work correctly, we need a thread-safe version of libgcc. It is straight forward to build: define _PTHREADS in CFLAGS. We can have both versions just like libc and libc_r, and use the thread-safe version when linking threaded applications. If no one objects, I will add

Re: cvsupped libgcc grief

1999-04-06 Thread Sheldon Hearn
On Sun, 04 Apr 1999 12:48:04 GMT, George Cox wrote: cc: Internal compiler error: program cc1 got fatal signal 11 [...] FreeBSD-CURRENT -- Because I'm worth it. How did you find out about CURRENT without finding out about the FAQ? Please read section 4 of the FreeBSD FAQ, available online

cvsupped libgcc grief

1999-04-04 Thread George Cox
Well, the troubles continue, after much buggering around with an incorrectly linked cc1 binary, cooked up from I don't know where I ask Is anyone else seeing this kind of error on make buildworld'ing In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/i386/freebsd.h:28