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]

[Bug target/49746] Generated PA-RISC2.0w code cannot be assembled by GNU as-2.21.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49746

--- Comment #8 from H.Merijn Brand <h.m.brand at xs4all dot nl> 2011-07-15 15:50:12 UTC ---
On Thu, 14 Jul 2011 20:34:46 +0000, "sje at cup dot hp.com"
<gcc-bugzilla@gcc.gnu.org> wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49746
> 
> Steve Ellcey <sje at cup dot hp.com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |dave.anglin at bell dot
>                    |                            |net, sje at cup dot hp.com
> 
> --- Comment #2 from Steve Ellcey <sje at cup dot hp.com> 2011-07-14 20:34:28 UTC ---
> Are you trying to use a 32 bit GCC to bootstrap a 64 bit GCC?  I see you have
> CC set to gcc64 which makes me think that you are using a 64 bit GCC to do the
> bootstrap but you have -mpa-risc-2-0 in CFLAGS, which I think means the 32 bit
> 2.0 instruction set and I don't think it should be used for 64 bit builds.
> 
> Can you bootstrap if you leave off the -mpa-risc-2-0 flag?

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?


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