Subject: pkg/7467: ssh fails to build on NetBSD/pmax 1.4_BETA userland
To: None <gnats-bugs@gnats.netbsd.org>
From: Jason R Thorpe <thorpej@sulaco.nas.nasa.gov>
List: netbsd-bugs
Date: 04/25/1999 16:22:22
>Number:         7467
>Category:       pkg
>Synopsis:       ssh fails to build on NetBSD/pmax 1.4_BETA userland
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 24 20:20:01 1999
>Last-Modified:
>Originator:     
>Organization:
Numerical Aerospace Simulation Facility - NASA Ames
>Release:        userland is Simon's 1.4_BETA snapshot
>Environment:
	
System: NetBSD sulaco 1.4A NetBSD 1.4A (GENERIC) #18: Fri Apr 23 11:38:19 PDT 1999 thorpej@sulaco:/amd/dracul/u2/netbsd/src/sys/arch/pmax/compile/GENERIC pmax


>Description:
	Compiles okay, but linking gives me:

cc -pipe -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -o ssh ssh.o sshconnect.o log-client.o readconf.o hostfile.o readpass.o  tildexpand.o clientloop.o canohost.o  idea.o  rsa.o randoms.o md5.o buffer.o emulate.o packet.o compress.o  xmalloc.o ttymodes.o newchannels.o bufaux.o authfd.o authfile.o  crc32.o rsaglue.o cipher.o des.o match.o arcfour.o mpaux.o  userfile.o signals.o blowfish.o deattack.o   -Lgmp-2.0.2-ssh-2 -lgmp -L/usr/lib -lz  -lcrypt -L/usr/local/lib  -lutil 
/usr/bin/ld: mpn_add_n.o: linking PIC files with non-PIC files
Bad value: failed to merge target specific data of file gmp-2.0.2-ssh-2/libgmp.a(mpn_add_n.o)
/usr/bin/ld: mpn_lshift.o: linking PIC files with non-PIC files
Bad value: failed to merge target specific data of file gmp-2.0.2-ssh-2/libgmp.a(mpn_lshift.o)
/usr/bin/ld: mpn_mul_1.o: linking PIC files with non-PIC files
Bad value: failed to merge target specific data of file gmp-2.0.2-ssh-2/libgmp.a(mpn_mul_1.o)
/usr/bin/ld: mpn_rshift.o: linking PIC files with non-PIC files
Bad value: failed to merge target specific data of file gmp-2.0.2-ssh-2/libgmp.a(mpn_rshift.o)
/usr/bin/ld: mpn_sub_n.o: linking PIC files with non-PIC files
Bad value: failed to merge target specific data of file gmp-2.0.2-ssh-2/libgmp.a(mpn_sub_n.o)
/usr/bin/ld: mpn_submul_1.o: linking PIC files with non-PIC files
Bad value: failed to merge target specific data of file gmp-2.0.2-ssh-2/libgmp.a(mpn_submul_1.o)
/usr/bin/ld: mpn_addmul_1.o: linking PIC files with non-PIC files
Bad value: failed to merge target specific data of file gmp-2.0.2-ssh-2/libgmp.a(mpn_addmul_1.o)
collect2: ld returned 1 exit status
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
sulaco:thorpej 18$ 

>How-To-Repeat:
	Just try to build it, I suppose.
>Fix:
	not known.
>Audit-Trail:
>Unformatted: