Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2018 22:01:31 -0400
From:      Charlie Li <ml@vishwin.info>
To:        toolchain@freebsd.org, current@freebsd.org
Subject:   unknown -z value: common-page-size=4096
Message-ID:  <8d87fcb0-5c36-39e8-72da-de55b26fdcdf@vishwin.info>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--ECl5TrIyekWusxhIoSPYWgPTIUmggV16q
Content-Type: multipart/mixed; boundary="thFyrXxphx4n4SwrTompRRs7o1ehCSnnL";
 protected-headers="v1"
From: Charlie Li <ml@vishwin.info>
To: toolchain@freebsd.org, current@freebsd.org
Message-ID: <8d87fcb0-5c36-39e8-72da-de55b26fdcdf@vishwin.info>
Subject: unknown -z value: common-page-size=4096

--thFyrXxphx4n4SwrTompRRs7o1ehCSnnL
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB-large
Content-Transfer-Encoding: quoted-printable

I've switched to using devel/xtoolchain-llvm70 yesterday to build amd64
base starting with r338990, and among other issues, ld.lld70 refuses to
link the kernel:

Building /usr/local/obj/usr/local/src/amd64.amd64/sys/ARDMORE/kernel.full=

--- kernel.full ---
linking kernel.full
ld.lld: error: unknown -z value: common-page-size=3D4096
ld.lld: error: unknown -z value: ifunc-noplt
*** [kernel.full] Error code 1

make[2]: stopped in /usr/local/obj/usr/local/src/amd64.amd64/sys/ARDMORE

(ARDMORE is basically GENERIC-NODEBUG, not that it matters)

The ifunc-noplt is a known issue, it obviously didn't make it upstream
in time for LLVM 7.0.0, and thus we carry the feature downstream.

The crux of this link error though, emaste@ quipped in PR 230604 that
LLD prior to 7.0.0 accepted but ignored unknown options, but now at
least 7.0.0 disallows unknown options entirely. Which brings up the -z
common-page-size=3D4096: has LLD been ignoring this part the whole time,
and is it of any meaningful use anymore (it seemed to mean something
with bfd)?

--=20
Charlie Li
Can't think of a witty .sigline today=E2=80=A6

(This email address is for mailing list use only; replace local-part
with vishwin for off-list communication)


--thFyrXxphx4n4SwrTompRRs7o1ehCSnnL--

--ECl5TrIyekWusxhIoSPYWgPTIUmggV16q
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE/3/Cqr5a+41PbEb+jnB43vIDq2wFAluu3QEACgkQjnB43vID
q2x7WhAAnlWIYRSPFXzitGIZlys1/YUdJwyrEsUfZJC1SrfqblQIjLdDNNxUJLpf
hkQzN5hG440tsrosrqzKtjIZFyIBJCMKvXifqaicKX2xNkCURFPKLK3sVt6p+ZEA
mr1fZcgTEf1aZX0eiTNiujRy680Pfd7aNI9XLC7j0ml2EVhgxOcc7iBJm3cQbnJ5
T5f+iL4M/urZYXrs3LNpbSTs/0xfNXUOzP6ziFGjxBbyu7yLXs6hob+OQ+B10JBh
Mi6Sh0Z1uZDmbEBh8azPlnHJgDNSNokTcdswELj+6fYFrZnsbz5FHVCLJAQ1xNwx
Og893BVQTXgWAm7WFPx0ys3WZFR1XBelntTGt2Hu53nAYfA4ckG0IIrjrx6bCD3q
E5U+pAS7SMMKS1XGySHOK01yxu2S5VKa7l0cb0NTAutXo17NX/k4UJN837pzngU4
Nfxk05PCIinZzVn9uUPsod1hlW6iQskr5QwZ5W+GdMzE7dtXibaL2qZrj8UohWp8
xYVXAIeu/E1xV+urCbyyR7bIxWtLvVs0s3tGXepEVckNwxZm+GPIQNFR0GneVqs8
QH/68txF8sMGCDV7qxkn6zjI+O4XjZ3DLXTvzRSQ9SppaYzyQLIrU5trAKqUjdgR
f4GqkeA5dWY4m6U1aBbfq+SiE1hAxaO6ILPgza9B7you1QxBWdo=
=MdVQ
-----END PGP SIGNATURE-----

--ECl5TrIyekWusxhIoSPYWgPTIUmggV16q--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8d87fcb0-5c36-39e8-72da-de55b26fdcdf>