This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c/7664: gcc-3.2 build problem gengenrtl


>Number:         7664
>Category:       c
>Synopsis:       gcc-3.2 build problem  gengenrtl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 20 12:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     wharms@bfs.de
>Release:        unknown-1.0
>Organization:
>Environment:
linux 2..2.12 (alpha)
gcc 2.95.2
./configure
./make bootstrap

>Description:
gengenrtl can not be created

/usr/bin/ld: gengenrtl: Not enough room for program headers (allocated 6, need 7)
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status

note: i have changed the asm optiuon in the specs file because
the created option didnt work at all.
(reported earlier)
>How-To-Repeat:

>Fix:
compile without -g
# stage1/xgcc -Bstage1/ -B/usr/local/alphaev56-unknown-linux-gnu/bin/ -c -DIN_GCC  -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I. -I./. -I./config -I./../include ./gengenrtl.c -o gengenrtl.o
# stage1/xgcc -Bstage1/ -B/usr/local/alphaev56-unknown-linux-gnu/bin/ -DIN_GCC   -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengenrtl gengenrtl.o ../libiberty/libiberty.a



I suspect that -g is broken for ALPHA processors.
I had already created a gcc-3.2 but did a rebuild with
make bootstrap in place of make. 
The first version created not working debug hunks.


>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]