Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2018 21:41:06 +0100
From:      Thierry Thomas <thierry@freebsd.org>
To:        stable@freebsd.org
Subject:   Error upgrading 11-STABLE to 12-STABLE in ifunc resolver
Message-ID:  <20181227204106.GB2310@graf.pompo.net>

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

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

Hello,

Trying to upgrade a machine from

11.2-STABLE #0 r337833: Wed Aug 15 12:50:47 CEST 2018

to 12-STABLE as:

Working Copy Root Path: /usr/src
URL: https://svn.freebsd.org/base/stable/12
Relative URL: ^/stable/12
Repository Root: https://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 342558
Node Kind: directory
Schedule: normal
Last Changed Author: kp
Last Changed Rev: 342545
Last Changed Date: 2018-12-26 13:56:36 +0100 (Wed, 26 Dec 2018)

aborts due to this error:

/usr/local/libexec/ccache/world/cc -target x86_64-unknown-freebsd12.0 --sys=
root=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/=
usr/bin  -O2 -pipe   -DNO__SCCSID -DNO__RCSID -I/usr/src/lib/libc/include -=
I/usr/src/include -I/usr/src/lib/libc/amd64 -DNLS  -D__DBINTERFACE_PRIVATE =
-I/usr/src/contrib/gdtoa -I/usr/src/contrib/libc-vis -DINET6 -I/usr/obj/usr=
/src/amd64.amd64/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX=
_MISTAKE -I/usr/src/lib/libmd -I/usr/src/contrib/jemalloc/include -I/usr/sr=
c/contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/lo=
cale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DWANT_HY=
PERV -DYP -DNS_CACHING -DSYMBOL_VERSIONING -g -MD  -MF.depend.amd64_set_fsb=
ase.o -MTamd64_set_fsbase.o -std=3Dgnu99 -fstack-protector-strong -Wsystem-=
headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign =
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautol=
ogical-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-func=
tion -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-=
member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter  -Qunused-a=
rguments  -I/usr/src/lib/libutil -I/usr/src/lib/msun/amd64 -I/usr/src/lib/m=
sun/x86 -I/usr/src/lib/msun/src -c /usr/src/lib/libc/amd64/sys/amd64_set_fs=
base.c -o amd64_set_fsbase.o
--- amd64_get_fsbase.o ---
/usr/src/lib/libc/amd64/sys/amd64_get_fsbase.c:60:1: error: ifunc resolver =
function must have no parameters
DEFINE_UIFUNC(, int, amd64_get_fsbase, (void **), static)
^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/x86/ifunc.h:43:44: note: expan=
ded from macro 'DEFINE_UIFUNC'
    qual ret_type name args __attribute__((ifunc(#name "_resolver")));  \

cc is:
FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM =
6.0.1)

This problem has already been reported in
<https://lists.freebsd.org/pipermail/freebsd-current/2018-November/071980.h=
tml>
and should be fixed with clang 7, but I'm surprised that it seems
impossible to upgrade from 11-STABLE to 12-STABLE; did I miss something?

Thanks.
--=20
Th. Thomas.

--liOOAslEiF7prFVr
Content-Type: application/pgp-signature; name="signature.asc"

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

iQJ8BAEBCgBmBQJcJTjiXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFNTM2QkU4NTM4NTM5OUQwMEI2RkFBNzZG
MUM1MTZCM0M4MzU5NzUzAAoJEPHFFrPINZdT+DkP/0cBoWb9eRfQVJlNvMqxNrYB
MYybh/54iEZA8P26To7tP+GYyU3jEqHADzUgK7O4jSIjpXEaNTshyUZvlMzNuqHs
GdgRxPljRiVyoji0tan8sxClGCOCyFKfMxE78c9WmtW57xkdd4ABAT4GX0W4A6J3
+IWg3esscCIPa0jyJsyu644udTZRm3EnoV4UV1duY/+82XgY0jqfizrd/DPvcw7J
uzzFv5FEOCqfxrRu8iOV4X9NGmIBfnvs5Ar6sI4AxzRZXcljIT/WshJX9cDM7qRo
M6wvUQDYSVyN0/wi5SC8apyn5R2fl66MLq71K3otewAkJI90ga95tOP7VQ5ODjwQ
iYoHUIEWx04nCeb+dxjUAJ4ZwTuM7D8BtuWPI2yl4FE4Y6CLGaO25U1/FhbC7/YH
wsY6ZkIyPILKHY0wuiT9tphFX6CGjXyORbIOVFX1bVybYI4qFA0rY+unm6/wwACu
NxP3Op3/GaSWdDoydgSsULVZy4nG/eWEKCP9GyPepP3UV/rUunVSc4QYC7Dk5YhW
Xvh/yqyjPoMIxaRWuyPbl7T+7JbYLCnMmlMuv/42HCFk3dN7Z+RQECIdZKAr5XBY
eayMd5doiR4z3QWD9Nk2PcL3s58cL31yqFZp33O+BORwqwDmXjrdSal9LJZueliS
Z1jRUY6WizbU6s7chUNy
=Vn7h
-----END PGP SIGNATURE-----

--liOOAslEiF7prFVr--



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