Re: make buildworld ....gcc bug

2007-11-08 Thread Dag-Erling Smørgrav
James [EMAIL PROTECTED] writes:
 On Wed, 2007-11-07 at 23:01 +0200, tethys ocean wrote:
 When I am rebuilding world  FreeBSD 6.2 I have take error that is
 shown below. What can I do!?
 The current version of gcc for FreeBSD is 4.2.

Not in RELENG_6.

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


make buildworld ....gcc bug

2007-11-07 Thread tethys ocean
When I am rebuilding world  FreeBSD 6.2 I have take error that is
shown below. What can I do!?

[EMAIL PROTECTED] /usr/src]#  make buildworld


[EMAIL PROTECTED] gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
[EMAIL PROTECTED]


/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldemul.h:155:
warning: struct option declared inside parameter list
cc -O2 -fno-strict-aliasing -pipe -I.
-I/usr/src/gnu/usr.bin/binutils/ld -I/usr/src
/gnu/usr.bin/binutils/ld/../libbfd
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binut
ils/ld/../libbfd
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/in
clude -DTARGET=\i386-obrien-freebsd\
-DDEFAULT_EMULATION=\elf_i386_fbsd\ -DSCRI
PTDIR=\/usr/obj/usr/src/tmp/usr/libdata\
-DBFD_VERSION_STRING=\2.15 [FreeBSD] 2
004-05-23\ -DBINDIR=\/usr/bin\
-DTARGET_SYSTEM_ROOT=\/usr/obj/usr/src/tmp\ -D
TOOLBINDIR=\/usr/obj/usr/src/tmp//usr/bin/libexec\ -D_GNU_SOURCE
-I/usr/src/gnu/u
sr.bin/binutils/ld/../../../../contrib/binutils/ld
-I/usr/src/gnu/usr.bin/binutils/
ld/../../../../contrib/binutils/bfd
-I/usr/obj/usr/src/tmp/legacy/usr/include -c ldlex.c
/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldlex.l:
In function `yylex':
/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldlex.l:579:
internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/binutils/ld.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/binutils.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
[EMAIL PROTECTED] /usr/src]#
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildworld ....gcc bug

2007-11-07 Thread James
On Wed, 2007-11-07 at 23:01 +0200, tethys ocean wrote:

 When I am rebuilding world  FreeBSD 6.2 I have take error that is
 shown below. What can I do!?
 
 [EMAIL PROTECTED] /usr/src]#  make buildworld
 
 
 [EMAIL PROTECTED] gcc -v
 Using built-in specs.
 Configured with: FreeBSD/i386 system compiler
 Thread model: posix
 gcc version 3.4.6 [FreeBSD] 20060305

The current version of gcc for FreeBSD is 4.2. Sync your ports tree,
follow the advice in UPDATING and update, and try again.

If you're using pkg_add, sub in the appropriate commands.

James



 [EMAIL PROTECTED]
 
 
 /usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldemul.h:155:
 warning: struct option declared inside parameter list
 cc -O2 -fno-strict-aliasing -pipe -I.
 -I/usr/src/gnu/usr.bin/binutils/ld -I/usr/src
 /gnu/usr.bin/binutils/ld/../libbfd
 -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binut
 ils/ld/../libbfd
 -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/in
 clude -DTARGET=\i386-obrien-freebsd\
 -DDEFAULT_EMULATION=\elf_i386_fbsd\ -DSCRI
 PTDIR=\/usr/obj/usr/src/tmp/usr/libdata\
 -DBFD_VERSION_STRING=\2.15 [FreeBSD] 2
 004-05-23\ -DBINDIR=\/usr/bin\
 -DTARGET_SYSTEM_ROOT=\/usr/obj/usr/src/tmp\ -D
 TOOLBINDIR=\/usr/obj/usr/src/tmp//usr/bin/libexec\ -D_GNU_SOURCE
 -I/usr/src/gnu/u
 sr.bin/binutils/ld/../../../../contrib/binutils/ld
 -I/usr/src/gnu/usr.bin/binutils/
 ld/../../../../contrib/binutils/bfd
 -I/usr/obj/usr/src/tmp/legacy/usr/include -c ldlex.c
 /usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldlex.l:
 In function `yylex':
 /usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldlex.l:579:
 internal compiler error: Segmentation fault: 11
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See URL:http://gcc.gnu.org/bugs.html for instructions.
 *** Error code 1
 
 Stop in /usr/src/gnu/usr.bin/binutils/ld.
 *** Error code 1
 
 Stop in /usr/src/gnu/usr.bin/binutils.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 [EMAIL PROTECTED] /usr/src]#
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildworld ....gcc bug

2007-11-07 Thread Roland Smith
On Wed, Nov 07, 2007 at 11:01:21PM +0200, tethys ocean wrote:
 When I am rebuilding world  FreeBSD 6.2 I have take error that is
 shown below. What can I do!?
 
 [EMAIL PROTECTED] /usr/src]#  make buildworld

 In function `yylex':
 /usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldlex.l:579:
 internal compiler error: Segmentation fault: 11

Check your hardware, especially your memory. See http://www.bitwizard.nl/sig11/

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpyz076I8bDV.pgp
Description: PGP signature


Re: make buildworld ....gcc bug

2007-11-07 Thread RW
On Wed, 07 Nov 2007 14:42:58 -0700
James [EMAIL PROTECTED] wrote:

 On Wed, 2007-11-07 at 23:01 +0200, tethys ocean wrote:
 
  When I am rebuilding world  FreeBSD 6.2 I have take error that is
  shown below. What can I do!?
  
  [EMAIL PROTECTED] /usr/src]#  make buildworld
  
  
  [EMAIL PROTECTED] gcc -v
  Using built-in specs.
  Configured with: FreeBSD/i386 system compiler
  Thread model: posix
  gcc version 3.4.6 [FreeBSD] 20060305
 
 The current version of gcc for FreeBSD is 4.2. Sync your ports tree,
 follow the advice in UPDATING and update, and try again.


That has no relevance to a buildworld. gcc 3.4.6 is the correct version
for FreeBSD 6.2.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gcc bug?

2003-03-25 Thread Kris Kennaway
On Mon, Mar 24, 2003 at 09:25:41PM -0800, milo wrote:
 On Mon, Mar 24, 2003 at 09:00:30PM -0800, Kris Kennaway wrote:
  Date: Mon, 24 Mar 2003 21:00:30 -0800
  From: Kris Kennaway [EMAIL PROTECTED]
  To: milo [EMAIL PROTECTED]
  Cc: Adam [EMAIL PROTECTED], [EMAIL PROTECTED]
  Subject: Re: gcc bug?
  
  On Mon, Mar 24, 2003 at 08:36:05PM -0800, milo wrote:
   
   so i need to build/install gcc first before can build the rest?
   
   i'm not sure how to just build contrib/gcc. i tried make contrib/gcc; make 
   install contrib/gcc but failed in lib/libcom_err.
  
  Update your entire source tree and perform the upgrade procedure
  documented in the handbook.
 that's what i did and am trying to do but failing as i reported to begin with.

OK, It wasn't clear to me that's what you were doing.

 supposedly because my gcc is one minor revision behind, libbz2 won't build.
 so i'm trying to rebuild gcc.

This is not necessary, because gcc is rebuilt early in the buildworld
process and the new version is automatically used thereafter.  If
you're having compiler failures it's probably due to failing hardware
and not a bug in FreeBSD.

Kris


pgp0.pgp
Description: PGP signature


Re: gcc bug?

2003-03-24 Thread Kirk Strauser
At 2003-03-24T06:28:43Z, milo [EMAIL PROTECTED] writes:

 hi, i can't compile the source code --

What source code?  Specifically, is this part of a make buildworld, or are
you attempting to compile one specific subdirectory of /usr/src?
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


Re: gcc bug?

2003-03-24 Thread milo

$ gcc -v
Using builtin specs.
gcc version 2.95.3 20010315 (release) [FreeBSD]

On Mon, Mar 24, 2003 at 01:26:45AM -0500, Adam wrote:
 Subject: Re: gcc bug?
 From: Adam [EMAIL PROTECTED]
 To: milo [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Date: 24 Mar 2003 01:26:45 -0500
 
 On Mon, 2003-03-24 at 01:28, milo wrote:
  hi, i can't compile the source code --
  ...
  any ideas what's wrong?
 
 What version of gcc are you using? 
 If you don't know, type: gcc -v
 
 -- 
 Adam [EMAIL PROTECTED]
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gcc bug?

2003-03-24 Thread Adam
On Mon, 2003-03-24 at 22:41, milo wrote:
 $ gcc -v
 Using builtin specs.
 gcc version 2.95.3 20010315 (release) [FreeBSD]
You're a bit outdated:

-$ gcc -v
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]

-- 
Adam [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gcc bug?

2003-03-24 Thread milo

so i need to build/install gcc first before can build the rest?

i'm not sure how to just build contrib/gcc. i tried make contrib/gcc; make install 
contrib/gcc but failed in lib/libcom_err.

:\

--mio

On Mon, Mar 24, 2003 at 10:53:07PM -0500, Adam wrote:
 Subject: Re: gcc bug?
 From: Adam [EMAIL PROTECTED]
 To: milo [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 X-Mailer: Ximian Evolution 1.2.2 
 Date: 24 Mar 2003 22:53:07 -0500
 
 On Mon, 2003-03-24 at 22:41, milo wrote:
  $ gcc -v
  Using builtin specs.
  gcc version 2.95.3 20010315 (release) [FreeBSD]
 You're a bit outdated:
 
 -$ gcc -v
 Using builtin specs.
 gcc version 2.95.4 20020320 [FreeBSD]
 
 -- 
 Adam [EMAIL PROTECTED]
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gcc bug?

2003-03-24 Thread Kris Kennaway
On Mon, Mar 24, 2003 at 08:36:05PM -0800, milo wrote:
 
 so i need to build/install gcc first before can build the rest?
 
 i'm not sure how to just build contrib/gcc. i tried make contrib/gcc; make install 
 contrib/gcc but failed in lib/libcom_err.

Update your entire source tree and perform the upgrade procedure
documented in the handbook.

Kris


pgp0.pgp
Description: PGP signature


Re: gcc bug?

2003-03-24 Thread milo
On Mon, Mar 24, 2003 at 09:00:30PM -0800, Kris Kennaway wrote:
 Date: Mon, 24 Mar 2003 21:00:30 -0800
 From: Kris Kennaway [EMAIL PROTECTED]
 To: milo [EMAIL PROTECTED]
 Cc: Adam [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: Re: gcc bug?
 
 On Mon, Mar 24, 2003 at 08:36:05PM -0800, milo wrote:
  
  so i need to build/install gcc first before can build the rest?
  
  i'm not sure how to just build contrib/gcc. i tried make contrib/gcc; make install 
  contrib/gcc but failed in lib/libcom_err.
 
 Update your entire source tree and perform the upgrade procedure
 documented in the handbook.
that's what i did and am trying to do but failing as i reported to begin with.

supposedly because my gcc is one minor revision behind, libbz2 won't build.
so i'm trying to rebuild gcc.

thanks-
 
 Kris



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


gcc bug?

2003-03-23 Thread milo
hi, i can't compile the source code --
building profiled bz2 library
ranlib libbz2_p.a
cc -fpic -DPIC -O -pipe  -I/usr/src/lib/libbz2/../../contrib/bzip2  -c 
/usr/src/lib/libbz2/../../contrib/bzip2/bzlib.c -o bzlib.So
cc -fpic -DPIC -O -pipe  -I/usr/src/lib/libbz2/../../contrib/bzip2  -c 
/usr/src/lib/libbz2/../../contrib/bzip2/blocksort.c -o blocksort.So
cc -fpic -DPIC -O -pipe  -I/usr/src/lib/libbz2/../../contrib/bzip2  -c 
/usr/src/lib/libbz2/../../contrib/bzip2/compress.c -o compress.So
/usr/src/lib/libbz2/../../contrib/bzip2/compress.c: In function `sendMTFValues':
/usr/src/lib/libbz2/../../contrib/bzip2/compress.c:640: Internal compiler error in 
`finish_spills', at reload1.c:3961
Please submit a full bug report.
See URL:http://www.gnu.org/software/gcc/bugs.html for instructions.
*** Error code 1

Stop in /usr/src/lib/libbz2.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

any ideas what's wrong?

thanks,
mio


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gcc bug?

2003-03-23 Thread Adam
On Mon, 2003-03-24 at 01:28, milo wrote:
 hi, i can't compile the source code --
 ...
 any ideas what's wrong?

What version of gcc are you using? 
If you don't know, type: gcc -v

-- 
Adam [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gcc bug?

2003-03-23 Thread Subhro Sankha Kar
Hi,
Tell us the version of ur cc compiler and also tell us if u did make clean 
and then ./configure before starting to compile. 

On Mon, 2003-03-24 at 01:28, milo wrote:
hi, i can't compile the source code --
...
any ideas what's wrong?
Subhro Sankha Kar
IIIT-Calcutta 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message