From owner-freebsd-hackers@freebsd.org Wed Apr 4 07:06:11 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26DF2F98020 for ; Wed, 4 Apr 2018 07:06:11 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B3A0F8FBA1 for ; Wed, 4 Apr 2018 07:06:10 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [192.168.0.15] (coleburn.home.andric.com [192.168.0.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id EEB3E3FAFF; Wed, 4 Apr 2018 09:06:02 +0200 (CEST) From: Dimitry Andric Message-Id: <06A6FF73-A15B-4EA1-854A-B2B741FB7E63@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_1871B193-52B6-457E-BF1E-554DCC870732"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: mips.mips64elhf and mips.mips64el buildworld Date: Wed, 4 Apr 2018 09:06:04 +0200 In-Reply-To: <201804040237.w342bPop036027@slippy.cwsent.com> Cc: freebsd-hackers@freebsd.org To: Cy Schubert References: <201804040237.w342bPop036027@slippy.cwsent.com> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2018 07:06:11 -0000 --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 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--