Johnny Billquist | 4 Apr 2008 09:07
Picon

Errors in native build...

pic: Unsupported relocation type 168 in non-PLT relocations
grops: Unsupported relocation type 136 in non-PLT relocations

Haven't we fixed this once before?

	Johnny

--

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt <at> softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol

Johnny Billquist | 17 Apr 2008 13:31
Picon

Native build...

don't work.

Haven't we had this one before?

==========
#   compile  libcrypto/sha512.o
/usr/src/obj/tooldir.NetBSD-4.99.59-vax/bin/vax--netbsdelf-gcc -O1 
-fgcse -fstrength-reduce -fgcse-after-reload  -Werror  -fstack-protector 
-Wstack-protector --param ssp-buffer-size=1    -D_FORTIFY_SOURCE=2 
-Dlibcrypto -I. -I/usr/src/crypto/dist/openssl/crypto 
-I/usr/src/crypto/dist/openssl -DOPENSSLDIR=\"/etc/openssl\" 
-DENGINESDIR=\"/usr/lib/openssl\" -DDSO_DLFCN -DHAVE_DLFCN_H 
-I/usr/src/crypto/dist/openssl/crypto 
-I/usr/src/crypto/dist/openssl/crypto/bn 
-I/usr/src/lib/libcrypto/arch/vax  -nostdinc -isystem 
/usr/src/obj/destdir.vax/usr/include -c 
-I/usr/src/crypto/dist/openssl/crypto/sha 
/usr/src/crypto/dist/openssl/crypto/sha/sha512.c -o sha512.o
/usr/src/crypto/dist/openssl/crypto/sha/sha512.c: In function 
'sha512_block':
/usr/src/crypto/dist/openssl/crypto/sha/sha512.c:490: internal compiler 
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions.

Tom Ivar Helbekkmo | 18 Apr 2008 12:14
Picon
Gravatar

Re: Native build...

Johnny Billquist <bqt <at> softjar.se> writes:

> don't work.
> [...]
> /usr/src/crypto/dist/openssl/crypto/sha/sha512.c:490: internal
> compiler error: Segmentation fault

I see the same thing, and find that manually compiling that particular
file with -O0 succeeds.

-tih
--

-- 
Self documenting code isn't. User application constraints don't. --Ed Prochak

Jan-Benedict Glaw | 24 Apr 2008 01:10
Picon
Favicon

Building current

Hi!

...building current seems to result in a breakage in the
NFS server code. Something like this should probably fix it, though
I'm still compiling and haven't verified it yet.

Index: sys/compat/ultrix/ultrix_misc.c
===================================================================
RCS file: /cvsroot/src/sys/compat/ultrix/ultrix_misc.c,v
retrieving revision 1.111
diff -u -r1.111 ultrix_misc.c
--- sys/compat/ultrix/ultrix_misc.c	21 Mar 2008 21:54:59 -0000	1.111
+++ sys/compat/ultrix/ultrix_misc.c	23 Apr 2008 23:01:16 -0000
 <at>  <at>  -467,11 +467,10  <at>  <at> 

 #if defined (NFSSERVER)
 int
-ultrix_sys_nfssvc(struct lwp *l, const void *v, register_t *retval)
+ultrix_sys_nfssvc(struct lwp *l, const struct ultrix_sys_nfssvc_args *uap, register_t *retval)
 {

 #if 0	/* XXX */
-	struct ultrix_sys_nfssvc_args *uap = v;
 	struct emul *e = p->p_emul;
 	struct sys_nfssvc_args outuap;
 	struct sockaddr sa;

That's needed probably due to a regen of
sys/compat/ultrix/ultrix_syscallargs.h:

(Continue reading)

Kurt Schreiner | 30 Apr 2008 22:58
Picon
Picon
Favicon

libm doesn't compile for vax

Hi,

trying to (cross) "build.sh ... distribution" for vax on amd64
I run into:

dependall ===> lib/libm
    compile  libm/n_acosh.ln
/u/NetBSD/src/lib/libm/noieee_src/n_acosh.c(77): syntax error '[' [249]
/u/NetBSD/src/lib/libm/noieee_src/n_acosh.c(77): syntax error '[' [249]
/u/NetBSD/src/lib/libm/noieee_src/n_acosh.c(78): syntax error '[' [249]
/u/NetBSD/src/lib/libm/noieee_src/n_acosh.c(78): syntax error '[' [249]
/u/NetBSD/src/lib/libm/noieee_src/n_acosh.c(80): warning: syntax error: empty declaration [0]
/u/NetBSD/src/lib/libm/noieee_src/n_acosh.c(81): warning: syntax error: empty declaration [0]

*** Failed target:  n_acosh.ln
*** Failed command: CC=/u/NetBSD/arch/vax/TOOLS/bin/vax--netbsdelf-gcc
/u/NetBSD/arch/vax/TOOLS/bin/vax--netbsdelf-lint -chapbxzFS -d
/u/NetBSD/arch/vax/dest/usr/include -DLIBM_SCCS -I/u/NetBSD/src/lib/libm/gen -i /u/NetBSD/src/lib/libm/noieee_src/n_acosh.c
*** Error code 1

Stop.
nbmake: stopped in /u/NetBSD/src/lib/libm

Kurt

Valeriy E. Ushakov | 30 Apr 2008 23:11
Picon

Re: libm doesn't compile for vax

On Wed, Apr 30, 2008 at 22:58:15 +0200, Kurt Schreiner wrote:

> trying to (cross) "build.sh ... distribution" for vax on amd64
> I run into:
> 
> dependall ===> lib/libm
>     compile  libm/n_acosh.ln
> /u/NetBSD/src/lib/libm/noieee_src/n_acosh.c(77): syntax error '[' [249]
> /u/NetBSD/src/lib/libm/noieee_src/n_acosh.c(77): syntax error '[' [249]
> /u/NetBSD/src/lib/libm/noieee_src/n_acosh.c(78): syntax error '[' [249]
> /u/NetBSD/src/lib/libm/noieee_src/n_acosh.c(78): syntax error '[' [249]
> /u/NetBSD/src/lib/libm/noieee_src/n_acosh.c(80): warning: syntax error: empty declaration [0]
> /u/NetBSD/src/lib/libm/noieee_src/n_acosh.c(81): warning: syntax error: empty declaration [0]
> 
> *** Failed target:  n_acosh.ln
> *** Failed command: CC=/u/NetBSD/arch/vax/TOOLS/bin/vax--netbsdelf-gcc
/u/NetBSD/arch/vax/TOOLS/bin/vax--netbsdelf-lint -chapbxzFS -d
/u/NetBSD/arch/vax/dest/usr/include -DLIBM_SCCS -I/u/NetBSD/src/lib/libm/gen -i /u/NetBSD/src/lib/libm/noieee_src/n_acosh.c
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /u/NetBSD/src/lib/libm

toolchain/38542 (and also 20264 and 22500)

SY, Uwe
--

-- 
uwe <at> stderr.spb.ru                       |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen

(Continue reading)

Valeriy E. Ushakov | 30 Apr 2008 23:12
Picon

Re: libm doesn't compile for vax

On Thu, May 01, 2008 at 01:11:04 +0400, Valeriy E. Ushakov wrote:

> On Wed, Apr 30, 2008 at 22:58:15 +0200, Kurt Schreiner wrote:
> 
> > trying to (cross) "build.sh ... distribution" for vax on amd64
> > I run into:
> 
> toolchain/38542 (and also 20264 and 22500)

PS: I've tried to work around that and hit toolchain/38543.  May be
lint should be disabled for libm for now (it was enabled by christos a
few days ago).

SY, Uwe
--

-- 
uwe <at> stderr.spb.ru                       |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen

Christos Zoulas | 1 May 2008 17:40

Re: libm doesn't compile for vax

In article <20080430211249.GB15082 <at> bigmac.stderr.spb.ru>,
Valeriy E. Ushakov <uwe <at> stderr.spb.ru> wrote:
>On Thu, May 01, 2008 at 01:11:04 +0400, Valeriy E. Ushakov wrote:
>
>> On Wed, Apr 30, 2008 at 22:58:15 +0200, Kurt Schreiner wrote:
>> 
>> > trying to (cross) "build.sh ... distribution" for vax on amd64
>> > I run into:
>> 
>> toolchain/38542 (and also 20264 and 22500)
>
>PS: I've tried to work around that and hit toolchain/38543.  May be
>lint should be disabled for libm for now (it was enabled by christos a
>few days ago).

Actually I fixed the bugs in mathimpl.h and now it should build.
Lint was right complaining about the type mismatch, since it was
const in the definition and not const in the declaration :-)

christos


Gmane