Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Building PCC for "tools" is broken (missing symbol __USE)- PCC bug or NetBSD source tree error?
Good going :D!
As of 5 minutes ago, by setting HAVE_GCC=4, HAVE_PCC=1, MKGCC=no, and
MKPCC=yes, I've successfully compiled the current pcc in the NetBSD source
tree (using i486--netbsdelf-gcc) into my (global for all archs) NetBSD tools
directory. pcc has also just successfully built a kernel for my i486
machine.
I recall reading that build.sh can automatically determine which sources pcc
can compile and which sources it cannot, so I'll let pcc attempt to build
the userland and will report back if it fails on any targets that I cannot
fix (or skip) myself.
At some point, I'll try a dummy i386 build target and see if pcc can compile
gcc by setting HAVE_PCC=1, HAVE_GCC=4, MKGCC=yes, and MKPCC=no. Failing
that- since pcc doesn't have a fully functional C++ backend, I'll download
GCC 4.7.3 and try the same with a pcc on my host machine (since that's
unrelated to NetBSD, I'll join/post on the pcc mailing list).
-----Original Message-----
From: Iain Hibbert
Sent: Thursday, July 24, 2014 5:07 PM
To: William D. Jones
Cc: current-users%netbsd.org@localhost
Subject: Re: Building PCC for "tools" is broken (missing symbol __USE)- PCC
bug or NetBSD source tree error?
On Sun, 20 Jul 2014, Iain Hibbert wrote:
On Sat, 19 Jul 2014, William D. Jones wrote:
> > it certainly is. I think I remember that __USE() now, it was a local
> > (NetBSD) addition due to a set but unused variable, which is changed
> > in
> > upstream versions now.
> Alright then. What do you suggest I do to reconcile the NetBSD version
> with
> the current upstream tree? Should I wait for the next major release of
> PCC,
> and then attempt to integrate the changes, or is there something I can
> do now
> (to start)?
I will try to import a new version later this week..
I have imported pcc-20140706 now, please report any problems in the usual
places (here for NetBSD build problems, or the PCC issue tracker for
compilation troubles)
regards,
iain
--
William D. Jones
Rowan University | ECE | 2012
Member IEEE
Member Tau Beta Pi
thor0505%comcast.net@localhost
Message sent using 'Windows Live Mail' client.
Home |
Main Index |
Thread Index |
Old Index