public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: target/5827: Building gcc-3.0.4 for arm-elf on hpux-10.20 fails
@ 2002-03-04 17:31 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2002-03-04 17:31 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, hans_peter_jepsen, nobody

Synopsis: Building gcc-3.0.4 for arm-elf on hpux-10.20 fails

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Mon Mar  4 17:31:06 2002
State-Changed-Why:
    Duplicate of PR 5107.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5827


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: target/5827: Building gcc-3.0.4 for arm-elf on hpux-10.20 fails
@ 2002-03-04  6:26 Jepsen Hans Peter
  0 siblings, 0 replies; 3+ messages in thread
From: Jepsen Hans Peter @ 2002-03-04  6:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR target/5827; it has been noted by GNATS.

From: Jepsen Hans Peter <hans_peter_jepsen@Danfoss.com>
To: Jepsen Hans Peter <hans_peter_jepsen@Danfoss.com>, 
	gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, 
	Jepsen Hans Peter <hans_peter_jepsen@Danfoss.com>
Cc:  
Subject: Re: target/5827: Building gcc-3.0.4 for arm-elf on hpux-10.20 fails
Date: Mon, 04 Mar 2002 15:25:03 +0100

 I replaced the host gcc, which was 2.95.2, with gcc-3.0.4. This helped 
 me further.
 
 However, now the build fails with this message:
 
 ../../gcc-3.0.4/gcc/libgcc1-test.c:119: warning: function declaration 
 isn't a prototype
 Testing libgcc1.  Ignore linker warning messages.
 /home/hpj/work/build-gcc-3.0.4/gcc/xgcc 
 -B/home/hpj/work/build-gcc-3.0.4/gcc/ 
 -B/opt/local/arm-elf-gcc3.0.4/arm-elf/bin/ 
 -B/opt/local/arm-elf-gcc3.0.4/arm-elf/lib/ -isystem 
 /opt/local/arm-elf-gcc3.0.4/arm-elf/include -DCROSS_COMPILE -DIN_GCC    
 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
 -isystem ./include  libgcc1-test.o -o libgcc1-test \
   -nostartfiles -nostdlib `/home/hpj/work/build-gcc-3.0.4/gcc/xgcc 
 -B/home/hpj/work/build-gcc-3.0.4/gcc/ 
 -B/opt/local/arm-elf-gcc3.0.4/arm-elf/bin/ 
 -B/opt/local/arm-elf-gcc3.0.4/arm-elf/lib/ -isystem 
 /opt/local/arm-elf-gcc3.0.4/arm-elf/include --print-libgcc-file-name`
 /opt/local/arm-elf-gcc3.0.4/arm-elf/bin/ld:built in linker script:57: 
 parse error
 collect2: ld returned 1 exit status
 gmake[1]: *** [libgcc1-test] Error 1
 gmake[1]: Leaving directory `/home/hpj/work/build-gcc-3.0.4/gcc'
 gmake: *** [all-gcc] Error 2
 
 the linker is from a recent snapshot of binutils:
 
 .. work/build-gcc-3.0.4> /opt/local/arm-elf-gcc3.0.4/arm-elf/bin/ld 
 --version
 GNU ld version 020303 20020303
 
 kind regards
 
 Hans Peter
 
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* target/5827: Building gcc-3.0.4 for arm-elf on hpux-10.20 fails
@ 2002-03-04  5:56 hans_peter_jepsen
  0 siblings, 0 replies; 3+ messages in thread
From: hans_peter_jepsen @ 2002-03-04  5:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5827
>Category:       target
>Synopsis:       Building gcc-3.0.4 for arm-elf on hpux-10.20 fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 04 05:56:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     hans_peter_jepsen@danfoss.com
>Release:        gcc-3.0.4
>Organization:
>Environment:
HPUX-10.20
>Description:
I untar'ed gcc-core-3.0.4.tar.gz, gcc-g++-3.0.4.tar.gz and newlib-1.10.0.tar.gz and did

mkdir build-gcc-3.0.4
cd gcc-3.0.4/gcc/
ln -s ../../newlib-1.10.0/newlib .
cd -
cd build-gcc-3.0.4/
PATH=/opt/local/arm-elf-gcc3.0.4/bin:$PATH

../gcc-3.0.4/configure --target=arm-elf --prefix=/opt/local/arm-elf-gcc3.0.4 --with-gnu-as --with-gnu-ld --with-newlib --enable-threads --enable-languages=c,c+

gmake all
 
Then I got this error message:

../../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:162: Warning: ignoring redefinition of register alias 'pc'
/home/hpj/work/build-gcc-3.0.4/gcc/xgcc -B/home/hpj/work/build-gcc-3.0.4/gcc/ -B/opt/local/arm-elf-gcc3.0.4/arm-elf/bin/ -B/opt/local/arm-elf-gcc3.0.4/arm-elf/lib/ -isystem /opt/local/arm-elf-gcc3.0.4/arm-elf/include -O2  -DCROSS_COMPILE -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -Dinhibit_libc -fno-inline -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -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  -mthumb -DL_muldi3 -c ../../gcc-3.0.4/gcc/libgcc2.c -o libgcc/thumb/_muldi3.o
../../gcc-3.0.4/gcc/libgcc2.c: In function `__muldi3':
../../gcc-3.0.4/gcc/libgcc2.c:368: Could not split insn
(insn 169 126 72 (set (reg:SI 2 r2)
        (const_int 65536 [0x10000])) 176 {*thumb_movsi_insn} (nil)
    (nil))
../../gcc-3.0.4/gcc/libgcc2.c:368: Internal compiler error in final_scan_insn, at final.c:2950
Please submit a full bug report,
>How-To-Repeat:

>Fix:

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-05  1:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-04 17:31 target/5827: Building gcc-3.0.4 for arm-elf on hpux-10.20 fails rodrigc
  -- strict thread matches above, loose matches on Subject: below --
2002-03-04  6:26 Jepsen Hans Peter
2002-03-04  5:56 hans_peter_jepsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).