This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49746] Generated PA-RISC2.0w code cannot be assembled by GNU as-2.21.1
- From: "sje at cup dot hp.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Jul 2011 16:03:48 +0000
- Subject: [Bug target/49746] Generated PA-RISC2.0w code cannot be assembled by GNU as-2.21.1
- Auto-submitted: auto-generated
- References: <bug-49746-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49746
--- Comment #9 from Steve Ellcey <sje at cup dot hp.com> 2011-07-15 16:03:16 UTC ---
(In reply to comment #8)
> Using the 4.2.4 I had available, I got gcc-4.6.1 installed.
>
> Still doesn't pass perl build:
>
> CCCMD = gcc64 -DPERL_CORE -c -mpa-risc-2-0 -DDEBUGGING
> -D_HPUX_SOURCE -fno-strict-aliasing -pipe -I/usr/local/pa20_64/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -Wall -W -Wextra
> -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -Wwrite-strings
> {standard input}: Assembler messages:
> {standard input}:35254: Error: Invalid operands
> make: *** [pp.o] Error 1
>
> Would it help to re-build binutils with gcc-4.6.1?
I don't know if rebuilding binutils would help or not. Can you rerun
the above compile with -save-temps or something so we can see what is on line
35254 of the assembly file? A preprocessed source file might be helpful too to
see if David or I can reproduce the problem.
Steve Ellcey