Date: Fri, 07 Jul 2017 14:02:00 +0200 From: "Michael Landin" <mich@prodnet.eu> To: freebsd-questions@freebsd.org Subject: releng/10.3 buildworld fails Message-ID: <0E9E82A9-2725-4734-A48F-16074DD3436E@prodnet.eu>
next in thread | raw e-mail | index | archive | help
This is an S/MIME signed message (RFC 5652 and 5751). --=_MailMate_CFEF279A-C2A3-4AEC-B935-9CA23A8A258D_= Content-Type: text/plain; charset=utf-8; markup=markdown Content-Transfer-Encoding: quoted-printable Hi, = I have a 10.3-REL-p16 (upgraded from a 10.0-REL system, with a =E2=80=9Cm= ake WITHOUT_CLANG=3D1 buildworld=E2=80=9D) FreeBSD nsXXXXX.ovh.net 10.3-RELEASE-p16 FreeBSD 10.3-RELEASE-p16 #0 r312= 388: Wed Jan 18 19:33:30 CET 2017 mich@nXXXXX.ovh.net:/usr/obj/usr/sr= c/sys/GENERIC amd64 Now - I am trying to upgrade this system to 10.3-REL-p19 and getting rid = of gcc while I=E2=80=99m at it. = I have : - cleaned/removed /usr/obj = - removed /usr/src completely - checked out a fresh version of releng/10.3 My /etc/src.conf: CC=3Dclang CXX=3Dclang++ CPP=3Dclang-cpp My /etc/make.conf: WITH_PKGNG=3Dyes NO_GUI=3Dyes WITHOUT_X11=3Dyes OPTIONS_UNSET=3DX11 DEFAULT_VERSIONS+=3Dperl5=3D5.24 DEFAULT_VERSIONS+=3Druby=3D2.3 DEFAULT_VERSIONS+=3Dssl=3Dopenssl Running =E2=80=9Cmake buildworld=E2=80=9D dies here: <snip> clang -O2 -pipe -DSHELL -I. -I/usr/src/bin/sh -std=3Dgnu99 -Qunused-arg= uments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k = -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int= -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -= Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-s= witch -Wno-switch-enum -Wno-knr-promoted-parameter -L/usr/local/lib -I/u= sr/local/include -o sh alias.o arith_yacc.o arith_yylex.o cd.o echo.o err= or.o eval.o exec.o expand.o histedit.o input.o jobs.o kill.o mail.o main.= o memalloc.o miscbltin.o mystring.o options.o output.o parser.o printf.o = redir.o show.o test.o trap.o var.o builtins.o nodes.o syntax.o -ledit -lt= ermcap histedit.o: In function `histedit': /usr/src/bin/sh/histedit.c:(.text+0x2eb): undefined reference to `_el_fn_= sh_complete' clang: error: linker command failed with exit code 1 (use -v to see invoc= ation) *** Error code 1 Stop. make[6]: stopped in /usr/src/bin/sh *** Error code 1 </snip> I know I can get around that particular case by setting =E2=80=9CCFLAGS+=3D= -L${WORLDTMP}/usr/lib=E2=80=9D in the Makefile for bin/sh. = But even fixing that gives plenty other buildworld errors. = Any ideas what could be the problem? = thanks, = /mich --=_MailMate_CFEF279A-C2A3-4AEC-B935-9CA23A8A258D_= Content-Description: S/MIME digital signature Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILFzCCBSkw ggQRoAMCAQICEA/vQLs1CFank+ugZfc4UPYwDQYJKoZIhvcNAQELBQAwgZcxCzAJBgNVBAYTAkdC MRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAOBgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoT EUNPTU9ETyBDQSBMaW1pdGVkMT0wOwYDVQQDEzRDT01PRE8gUlNBIENsaWVudCBBdXRoZW50aWNh dGlvbiBhbmQgU2VjdXJlIEVtYWlsIENBMB4XDTE3MDUxODAwMDAwMFoXDTE4MDUxODIzNTk1OVow IDEeMBwGCSqGSIb3DQEJARYPbWljaEBwcm9kbmV0LmV1MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A MIIBCgKCAQEAwTqDRsPVlm9zcto9cU4x73ntOJo3i4WFXby8PZXg++ioHHG88gIDkcSd2xFs+I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want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0E9E82A9-2725-4734-A48F-16074DD3436E>