[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-ports
Subject:    ports/38770: gcc 3.0.4 fails to build
From:       Steve Davidson <stevedav () pacbell ! net>
Date:       2002-05-31 17:45:03
[Download RAW message or body]


> Number:         38770
> Category:       ports
> Synopsis:       gcc 3.0.4 fails to build
> Confidential:   no
> Severity:       serious
> Priority:       medium
> Responsible:    freebsd-ports
> State:          open
> Quarter:        
> Keywords:       
> Date-Required:
> Class:          sw-bug
> Submitter-Id:   current-users
> Arrival-Date:   Fri May 31 10:50:01 PDT 2002
> Closed-Date:
> Last-Modified:
> Originator:     Steve Davidson
> Release:        FreeBSD 4.5R
> Organization:
> Environment:
% gcc -v
Using builtin specs.
gcc version 2.95.3 20010315 (release) [FreeBSD]
      
> Description:
portupgrade -N gcc-3.0.4
fails to build gcc:
--->  Installing 'gcc30-3.0.4' from a port (lang/gcc30)
--->  Building '/usr/ports/lang/gcc30'===>  Cleaning for libiconv-1.7.0.1===>  \
Cleaning for bison-1.35_1 ===>  Cleaning for gmake-3.79.1_1===>  Cleaning for \
libtool-1.3.4_3 ===>  Cleaning for gcc30-3.0.4Making GCC gcc30-3.0.4 for FreeBSD 4.5 \
elf      target i386-portbld-freebsd4.5===>  Extracting for gcc30-3.0.4
> How-To-Repeat:
Run 'portupgrade -N gcc-3.0.4'

Maybe I just need to clean up my gcc compiler.
How would I do this?
> Fix:
Fix the port?
Is it possible that I have corrupted some part of my gcc software?
I've never seen this problem before and my other FreeBSD systems
don't exhibit this trouble.   

How would I clean of fix my GCC install?  
I don't see GCC offerred as a package.
> Release-Note:
> Audit-Trail:
> Unformatted:
 >> Checksum OK for gcc-core-3.0.4.tar.bz2.
 
 [...]
 
 stage1/xgcc -Bstage1/ -B/usr/local/i386-portbld-freebsd4.5/bin/ -c  -DIN_GCC    -g \
-O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional \
-pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I.././..//gcc-3.0.4/gcc \
-I.././.. //gcc-3.0.4/gcc/. -I.././..//gcc-3.0.4/gcc/config \
-I.././..//gcc-3.0.4/gcc/../include .././..//gcc-3.0.4/gcc/jump.c -o jump.o  \
stage1/xgcc -Bstage1/ -B/usr/local/i386-portbld-freebsd4.5/bin/ -c  -DIN_GCC    -g \
-O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional \
-pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I.././..//gcc-3.0.4/gcc \
-I.././.. //gcc-3.0.4/gcc/. -I.././..//gcc-3.0.4/gcc/config \
                -I.././..//gcc-3.0.4/gcc/../include .././..//gcc-3.0.4/gcc/cse.c -o \
                cse.o
 ../../gcc-3.0.4/gcc/cse.c: In function `fold_rtx':
 ../../gcc-3.0.4/gcc/cse.c:3509: warning: comparison between signed and unsigned
 ../../gcc-3.0.4/gcc/cse.c:3511: warning: comparison between signed and unsigned
 ../../gcc-3.0.4/gcc/cse.c:3644: warning: comparison between signed and unsigned
 ../../gcc-3.0.4/gcc/cse.c:3655: warning: comparison between signed and unsigned
 ../../gcc-3.0.4/gcc/cse.c:4261: warning: comparison between signed and unsigned
 ../../gcc-3.0.4/gcc/cse.c: In function `cse_insn':
 ../../gcc-3.0.4/gcc/cse.c:6333: Internal error: Segmentation fault
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
 gmake[2]: *** [cse.o] Error 1
 gmake[2]: Leaving directory `/usr/ports/lang/gcc30/work/build/gcc'
 gmake[1]: *** [stage2_build] Error 2
 gmake[1]: Leaving directory `/usr/ports/lang/gcc30/work/build/gcc'
 gmake: *** [bootstrap] Error 2
 *** Error code 2
 
 Stop in /usr/ports/lang/gcc30.
 ** Command failed: make clean build
 ** Fix the problem and try again.
 ** The following packages were not installed or upgraded (*:skipped / !:failed)
         ! lang/gcc30    (new compiler error)
 
 
 
 
 Same problem for gcc-295:
 cd /usr/ports/lang/gcc295
 make
 [...]
 stage1/xgcc -Bstage1/ -B/usr/local/i386-portbld-freebsd4.5/bin/ -c  -DIN_GCC     -O2 \
-O -pipe   -DHAVE_CONFIG_H    -I. -I. -I./config -I./../include integrate.c  \
{standard input}: xgcc: Internal compiler error: program cc1 got fatal signal 11  \
gmake[2]: *** [integrate.o] Error 1  gmake[2]: Leaving directory \
`/usr/ports/lang/gcc295/work/gcc-2.95.3/gcc'  gmake[1]: *** [bootstrap] Error 2
 gmake[1]: Leaving directory `/usr/ports/lang/gcc295/work/gcc-2.95.3/gcc'
 gmake: *** [bootstrap] Error 2
 *** Error code 2
 
 Stop in /usr/ports/lang/gcc295.
 Assembler messages:
 {standard input}:4009: Warning: end of file not at end of a line; newline inserted
 {standard input}:5026: Error: suffix or operands invalid for `sal'
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic