This is the mail archive of the gcc@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]

Re: bootstrap failure for Ada gcc 4.1 Revision 110108 on


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John David Anglin schrieb:
>> I found the cause for the bootstrap failure.
>>
>> Normally I pass "-mpa-risc-2-0" to the boostrap compiler. This produces
>> PA-RISC2.0 optimized executables. As you can see:
>>
>> file gcc
>> gcc:            PA-RISC2.0 shared executable dynamically linked -not stripped
>>
>> This option prevents a successful bootstrap of ada in this case. I wonder why.
> 
> Bootstrapping ada on hpux requires -mdisable-indexing.  The above
> suggests that we might be generating a PA 2.0 indexed instruction.
> For the most part, PA 2.0 code generation is tested by hppa64 builds.
> That said, I did try a number of months ago to build a hppa64 version
> of gnat but I hit a number of problems that I didn't have time to
> resolve at the time.
> 
> Did "-mpa-risc-2-0" work with your 3.4.5 build?
> 
> Would you please file a PR.
> 
> Dave

The "-mpa-risc-2-0" switch worked for 3.3.6 and 3.4.5:

file gcc-3.3.6/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.3.6/gnat1
gnat1:          PA-RISC2.0 shared executable dynamically linked -not stripped

file gcc-3.4.5/libexec/gcc/hppa2.0w-hp-hpux11.00/3.4.5/gnat1
gnat1:          PA-RISC2.0 shared executable dynamically linked -not stripped

I have to leave the office now. I will investigate further tomorrow.

Rainer


- --
Rainer Emrich
TECOSIM GmbH
Im Eichsfeld 3
65428 Rüsselsheim

Phone: +49(0)6142/8272 12
Mobile: +49(0)163/56 949 20
Fax.:   +49(0)6142/8272 49
Web: www.tecosim.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD1kuP3s6elE6CYeURAlADAJ9oQ1EOYX817bf8Pipuw8xu4U7JoQCeOthr
+ENscjCg5L5hc/dxetBvhiA=
=tB3o
-----END PGP SIGNATURE-----


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