[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/42727: gcc 34 does not compile
The bootstrap compiler is only required in building Ada. It's required
because the Ada compiler itself is written in Ada.
The US DoD has pretty much abandoned the Ada language so I'm not using
it myself on any projects. Consequently, I've not tried building Ada in
over a year.
I cross-built my first NetBSD Ada compiler on FreeBSD, using their GNAT
port, and used it to bootstrap my first GNU Ada compiler. The binary
packages posted on my website were built from pkgsrc.
On 03/07/10 03:15, Fulvio Ciriaco wrote:
The following reply was made to PR pkg/42727; it has been noted by GNATS.
From: Fulvio Ciriaco<oivulf%gmail.com@localhost>
To: David Holland<dholland-pbugs%netbsd.org@localhost>
Subject: Re: pkg/42727: gcc 34 does not compile
Date: Sun, 07 Mar 2010 11:12:28 +0100
in my ignorance I had supposed that pkgsrc protected
somehow from writing outside of its tree during the
build phase. This experience was however enlightening.
I followed the instructions in
these require downloading a bootstrap compiler from
and this is
I untarred it, as by instructions, though I now see it is a package.
All right, now when I attempt compilation as an unpriviledged
user, the compilation proceeds to a larger extent, stopping
gmake: *** No rule to make target `gnatlib-shared'. Stop.
*** Error code 2
At Sun, 7 Mar 2010 07:37:13 +0000,
David Holland wrote:
> On Wed, Feb 03, 2010 at 04:00:09PM +0000, fulvio ciriaco wrote:
> > From: fulvio ciriaco<oivulf%gmail.com@localhost>
> > To: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost
> > Cc:
> > Subject: Re: pkg/42727: gcc 34 does not compile
> > Date: Wed, 03 Feb 2010 16:55:01 +0100 (CET)
> > All the problems arise after issuing
> > make BUILD_ADA=YES ALT_GCC=/usr/pkg/gcc34-bootstrap/bin/gcc
> > when make stops, /usr/bin/gcc has been substituted with
> > a shell script, content:
> > #!/bin/sh
> > exec /usr/pkg/gcc34-bootstrap/bin/./gcc "$@"
> > This explain the inclusion of non-standard headers
> > Fulvio
> This sounds like it might be a good idea to compile it as an
> unprivileged user (one that can't write into /usr/pkg) to help figure
> out what's going on.
> Also, what's /usr/pkg/gcc34-bootstrap? I can't find any reference to
> this in pkgsrc/lang.
> David A. Holland
John R. Shannon
Main Index |
Thread Index |