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: "dave.anglin at bell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Jul 2011 16:18:42 +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 #13 from dave.anglin at bell dot net 2011-07-15 16:18:11 UTC ---
On 7/15/2011 11:51 AM, h.m.brand at xs4all dot nl wrote:
> 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
>
This is a separate issue. It should have its own PR with preprocessed
source, etc.
> Would it help to re-build binutils with gcc-4.6.1?
>
There is always a possibility it has been miscompiled. It might also
help to run
the GCC testsuite to gain confidence that your new build is working ok.
It would
also be useful to see that the bootstrap issue is resolved.
Dave