Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2005 10:59:08 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Dag-Erling Smorgrav <des@FreeBSD.org>
Cc:        amd64@FreeBSD.org, current@FreeBSD.org
Subject:   Re: [current tinderbox] failure on amd64/amd64
Message-ID:  <20050607075908.GG30490@ip.net.ua>
In-Reply-To: <20050607030750.0375D7306E@freebsd-current.sentex.ca>
References:  <20050607030750.0375D7306E@freebsd-current.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

--iAL9S67WQOXgEPD9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.sen=
tex.ca
> TB --- 2005-06-07 02:32:25 - starting CURRENT tinderbox run for amd64/amd=
64
> 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 -P=
d -A src
> TB --- 2005-06-07 02:39:07 - building world (CFLAGS=3D-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
> [...]
> =3D=3D=3D> 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-strin=
gs -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
> =3D=3D=3D> 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/amd6=
4/src/lib/libpam/modules/pam_ssh/../../../../contrib/openpam/include -I/tin=
derbox/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/amd=
64/src/tmp/usr/bin/ld: /tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/C=
URRENT/amd64/amd64/src/lib/libpam/modules/pam_ssh/../../../../secure/lib/li=
bssh/libssh.a(authfile.o): relocation R_X86_64_32 can not be used when maki=
ng a shared object; recompile with -fPIC
> /tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/sr=
c/lib/libpam/modules/pam_ssh/../../../../secure/lib/libssh/libssh.a: could =
not read symbols: Bad value
> *** Error code 1
>=20
> Stop in /tinderbox/CURRENT/amd64/amd64/src/lib/libpam/modules/pam_ssh.
> *** Error code 1


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--iAL9S67WQOXgEPD9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCpVPMqRfpzJluFF4RAtAVAKCAW51s2mni+m8DGB7wu3YnukvgKwCfRJSy
50SeX7ZrQ7FKqFqWBYL4xQQ=
=Zeit
-----END PGP SIGNATURE-----

--iAL9S67WQOXgEPD9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050607075908.GG30490>