Subject: GCC sparc optomizer broken?
To: None <port-sparc@netbsd.org>
From: Jon Buller <jon@bullers.net>
List: port-sparc
Date: 12/19/2004 20:41:36
I was building the security/gnupg package on my SS20 and I have
this line in /etc/mk.conf:
.include "/usr/pkg/share/mk/cpuflags.mk"
It produced the output at the end of this message, but it all works
fine if I comment that line out. I believe the only thing that
line does is add -mcpu=supersparc to CFLAGS. (The devel/cpuflags-0.78
package was installed, in case anyone wants to try exactly reproducing
this.)
I don't know how to narrow this down to a smaller test case, let
alone fix the actual problem, but if anyone has any ideas, I'll
give them a try.
Jon
---------- start edited build log ----------
gmake[2]: Leaving directory `/usr/pkgsrc/security/gnupg/work/gnupg-1.2.6/doc'
Making all in checks
gmake[2]: Entering directory `/usr/pkgsrc/security/gnupg/work/gnupg-1.2.6/checks'
echo '#!/bin/sh' >./gpg_dearmor
echo "../g10/gpg --no-options --no-greeting \
--no-secmem-warning --batch --dearmor" >>./gpg_dearmor
chmod 755 ./gpg_dearmor
./gpg_dearmor > ./pubring.gpg < ./pubring.asc
./gpg_dearmor > ./secring.gpg < ./secring.asc
./gpg_dearmor > ./plain-1 < ./plain-1o.asc
./gpg_dearmor > ./plain-2 < ./plain-2o.asc
./gpg_dearmor > ./plain-3 < ./plain-3o.asc
./gpg_dearmor > ./pubring.pkr < ./pubring.pkr.asc
./gpg_dearmor > ./secring.skr < ./secring.skr.asc
../tools/mk-tdata 500 >data-500
../tools/mk-tdata 9000 >data-9000
../tools/mk-tdata 32000 >data-32000
../tools/mk-tdata 80000 >data-80000
cat ./../doc/HACKING \
./../doc/DETAILS \
./../doc/FAQ >plain-large
../g10/gpg --homedir . --quiet --yes --no-permission-warning --import ./pubdemo.asc
gpg: key 68697734: no valid user IDs
gpg: key 1AFDAB6C: no valid user IDs
gpg: key FAEF6D1B: no valid user IDs
gpg: key 8FC282E6: no valid user IDs
gpg: key 04259677: no valid user IDs
gpg: key 43C2D0C7: no valid user IDs
gpg: key A9E3B0B2: no valid user IDs
gpg: key EB9DC9E6: no valid user IDs
gpg: key 7372E243: no valid user IDs
gpg: key 34C6E3F1: no valid user IDs
gpg: key D2699313: no valid user IDs
gpg: key B79103F8: no valid user IDs
gpg: key BE5CF886: no valid user IDs
gpg: key 30CEC684: no valid user IDs
gpg: key 6D9732AC: no valid user IDs
gpg: key 3FF13206: no valid user IDs
gpg: key 3C661C84: no valid user IDs
gpg: key 777FBED3: no valid user IDs
gpg: key A3AE3EA1: no valid user IDs
gpg: key 85A81F38: no valid user IDs
gpg: key 653244D6: no valid user IDs
gpg: key 61F04784: no valid user IDs
gpg: key EC67DBDE: no valid user IDs
gpg: key 567FB34A: no valid user IDs
gpg: key 4B11B25F: no valid user IDs
gpg: key 54ACD246: no valid user IDs
gmake[2]: *** [prepared.stamp] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/security/gnupg/work/gnupg-1.2.6/checks'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/security/gnupg/work/gnupg-1.2.6'
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/security/gnupg
*** Error code 1
---------- end edited build log ----------