Hi DES, I'm getting exactly the same failure failure when compiling on amd64. You cannot just link .a with the shared objects on amd64. I suggest that you revert your changes which made libssh an internal library, as it causes more pain than a gain. (I've been experimenting with various patches that fix-up now redundant dependencies after you made libssh an internal lib when I was caught by this.) Another option is to build a special PIC library, and use it to compile pam_ssh.so. You decide if you want it the hard way or not. :-) On Mon, Jun 06, 2005 at 11:07:50PM -0400, FreeBSD Tinderbox wrote: > TB --- 2005-06-07 02:32:25 - tinderbox 2.3 running on freebsd-current.sentex.ca > TB --- 2005-06-07 02:32:25 - starting CURRENT tinderbox run for amd64/amd64 > TB --- 2005-06-07 02:32:25 - cleaning the object tree > TB --- 2005-06-07 02:32:59 - checking out the source tree > TB --- 2005-06-07 02:32:59 - cd /home/tinderbox/CURRENT/amd64/amd64 > TB --- 2005-06-07 02:32:59 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src > TB --- 2005-06-07 02:39:07 - building world (CFLAGS=-O2 -pipe) > TB --- 2005-06-07 02:39:07 - cd /home/tinderbox/CURRENT/amd64/amd64/src > TB --- 2005-06-07 02:39:07 - /usr/bin/make -B buildworld > >>> Building an up-to-date make(1) > >>> Rebuilding the temporary build tree > >>> stage 1.1: legacy release compatibility shims > >>> stage 1.2: bootstrap tools > >>> stage 2.1: cleaning up the object tree > >>> stage 2.2: rebuilding the object tree > >>> stage 2.3: build tools > >>> stage 3: cross tools > >>> stage 4.1: building includes > >>> stage 4.2: building libraries > [...] > ===> lib/libpam/modules/pam_self (all) > cc -fpic -DPIC -O2 -pipe -I/tinderbox/CURRENT/amd64/amd64/src/lib/libpam/modules/pam_self/../../../../contrib/openpam/include -I/tinderbox/CURRENT/amd64/amd64/src/lib/libpam/modules/pam_self/../../libpam -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wno-uninitialized -c /tinderbox/CURRENT/amd64/amd64/src/lib/libpam/modules/pam_self/pam_self.c -o pam_self.So > building shared library pam_self.so.2 > ===> lib/libpam/modules/pam_ssh (all) > cc -fpic -DPIC -O2 -pipe -I/tinderbox/CURRENT/amd64/amd64/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh -I/tinderbox/CURRENT/amd64/amd64/src/lib/libpam/modules/pam_ssh/../../../../contrib/openpam/include -I/tinderbox/CURRENT/amd64/amd64/src/lib/libpam/modules/pam_ssh/../../libpam -c /tinderbox/CURRENT/amd64/amd64/src/lib/libpam/modules/pam_ssh/pam_ssh.c -o pam_ssh.So > building shared library pam_ssh.so.2 > /home/tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/tmp/usr/bin/ld: /tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/lib/libpam/modules/pam_ssh/../../../../secure/lib/libssh/libssh.a(authfile.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC > /tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/lib/libpam/modules/pam_ssh/../../../../secure/lib/libssh/libssh.a: could not read symbols: Bad value > *** Error code 1 > > Stop in /tinderbox/CURRENT/amd64/amd64/src/lib/libpam/modules/pam_ssh. > *** Error code 1 Cheers, -- Ruslan Ermilov ru_at_FreeBSD.org FreeBSD committer
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:36 UTC