Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2018 09:06:04 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Cy Schubert <Cy.Schubert@cschubert.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: mips.mips64elhf and mips.mips64el buildworld
Message-ID:  <06A6FF73-A15B-4EA1-854A-B2B741FB7E63@FreeBSD.org>
In-Reply-To: <201804040237.w342bPop036027@slippy.cwsent.com>
References:  <201804040237.w342bPop036027@slippy.cwsent.com>

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

--Apple-Mail=_1871B193-52B6-457E-BF1E-554DCC870732
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

On 4 Apr 2018, at 04:37, Cy Schubert <Cy.Schubert@cschubert.com> wrote:
> 
> Building world within the krb5 project branch after having made heimdal
> private, as of LLVM 6 the following errors are produced

Since mips is built with gcc (still), this hasn't got anything to do
with clang. :)


> /scratch/tmp/cy/obj/home/cy/projects/pvt/mips.mips64elhf/obj-lib32/tmp/u
> sr/lib32
> /libprivateasn1.so: could not read symbols: File in wrong format
> 
> and
> 
> /scratch/tmp/cy/obj/home/cy/projects/pvt/mips.mips64el/obj-lib32/tmp/usr
> /lib32/l
> ibprivateasn1.so: could not read symbols: File in wrong format
> 
> File reports,
> 
> universe12b$ file /scratch/tmp/cy/obj/home/cy/projects/pvt/mips.mips64el
> hf/obj-lib32/tmp/usr/lib32/libprivateasn1.so.11
> /scratch/tmp/cy/obj/home/cy/projects/pvt/mips.mips64elhf/obj-lib32/tmp/u
> sr/lib32/libprivateasn1.so.11: ELF 32-bit MSB shared object, MIPS,
> MIPS-III version 1 (FreeBSD), dynamically linked, not stripped
> universe12b$
> 
> Similarly for mips64el.
> 
> All other architectures built successfully.
> 
> For the stupid question: AFAICT the files are correct. Does anyone have
> any ideas?

Which program is producing the "could not read symbols" output?  The
linker?  Maybe it trips up over these 32-bit shared libraries.

It would probably help a bit if you posted the buildworld output
somewhere, so it is more easily visible how the libraries are built,
and by which program(s) they are processed.

-Dimitry


--Apple-Mail=_1871B193-52B6-457E-BF1E-554DCC870732
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWsR5XAAKCRCwXqMKLiCW
o+vgAJoDmUpk9QAjmCNGEeHaR2vHcaTYOwCg33/IH3u9IY+hetitE/fjpJoVGms=
=Ur89
-----END PGP SIGNATURE-----

--Apple-Mail=_1871B193-52B6-457E-BF1E-554DCC870732--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?06A6FF73-A15B-4EA1-854A-B2B741FB7E63>