Date: Fri, 20 Oct 2017 16:04:59 -0300 From: Joseph Mingrone <jrm@FreeBSD.org> To: Johannes M Dieterich <jmd@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r452497 - in head/devel: flang flang-clang flang/files Message-ID: <86tvytabdw.fsf@phe.ftfl.ca> In-Reply-To: <201710200134.v9K1Yhe9066542@repo.freebsd.org> (Johannes M. Dieterich's message of "Fri, 20 Oct 2017 01:34:43 %2B0000 (UTC)") References: <201710200134.v9K1Yhe9066542@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-= Content-Type: text/plain Johannes M Dieterich <jmd@FreeBSD.org> writes: > Author: jmd > Date: Fri Oct 20 01:34:43 2017 > New Revision: 452497 > URL: https://svnweb.freebsd.org/changeset/ports/452497 > Log: > devel/flang-clang and devel/flang: Upgrade to later snapshots. They bring a lot of fixed bugs inside of flang and support for ejecting AVX512 operations. Removes dependency on lang/openmp since devel/llvm40 brings its own (correct) libomp.so. > Reviewed by: swills (mentor) > Approved by: swills (mentor) > Differential Revision: https://reviews.freebsd.org/D12734 Hello Johannes, Something in this update has broken configure for math/R. Is -lm missing somewhere? I tried compiling the simple program below with -lm, but it didn't help. J. configure:6154: cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -L/usr/local/flang/lib -lflang -lexecinfo -L/usr/local/lib -fstack-protector conftest.c -L/usr/local/lib >&5 /usr/local/flang/lib/libflang.so: undefined reference to `sincos' /usr/local/flang/lib/libflang.so: undefined reference to `sincosf' cc: error: linker command failed with exit code 1 (use -v to see invocation) configure:6158: $? = 1 configure:6196: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "R" | #define PACKAGE_TARNAME "R" | #define PACKAGE_VERSION "3.4.2" | #define PACKAGE_STRING "R 3.4.2" | #define PACKAGE_BUGREPORT "https://bugs.r-project.org" | #define PACKAGE_URL "https://www.r-project.org" | #define PACKAGE "R" | #define VERSION "3.4.2" | #define R_PLATFORM "amd64-portbld-freebsd11.1" | #define R_CPU "amd64" | #define R_VENDOR "portbld" | #define R_OS "freebsd11.1" | #define Unix 1 | #define R_ARCH "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:6201: error: in `/wrkdirs/usr/ports/math/R/work/R-3.4.2': configure:6204: error: C compiler cannot create executables --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEVbCTpybDiFVxIrrVNqQMg7DW754FAlnqSNtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU1 QjA5M0E3MjZDMzg4NTU3MTIyQkFENTM2QTQwQzgzQjBENkVGOUUACgkQNqQMg7DW 755X5A//XrPLRmiSAWcjnBgT5UCw5GVNcWN09eyMwTtbNFJKGZFL6xtzPq1Qx0Fc U1RDUIHAVrZIO9o9BHFE6/dZtHTEbjhREGqTWLFOHTdsr5eAmdpjU0PKV33rMn2J a3zxzssQwlFCtKK/AbDZq0S+oIj0Adot1YBEGzfa7I9c8gsp2mB5pgNCHqb0DLJF 4vjn2/54ap+EPFpqSOQ6VZ06sgE5LsN71mwJY8XHHB/m3Pfz0tRo5ItbsOxRJ3fR Bv+LtuV+hKKpw0vfylkZpE6jymjZzuITZaD2SIsgwhNN/Gstu/aXGR5EVV7uzoSs 1V+DiBzbQiLCqTxm3hhQBpWISgdac1SbCdXiGO+AZH0uMcBYL9g7cYqOIlpItaMa iyDqniZGyrPLRmqA+ux4aU3TPc/vNcOSjvXYxYsAfViEbi6gRUU5s71uB4VLxN5u 2F/63cjVLnI4YI2n+VEdIW0F2FJiv87uYyk1bO64w51HeeIFvjv8wrsox528AiTj plPvluSvIQ75Lw3CalXpuqvYmQPQIwmZ+ucM4tKEd7F9XjC5yu3o5zhJmOVVe5mq 1+qO7H7MU/pHdn8wFeAdfTrcqH6j+uKfJRBpHItxeMy0SacgWHT7DOSe5yX9v4wV lt8IP0vwtW/JP/D/usrMoa01HkfZ9wCqHGwf8XDnTy5Q7HCUMZQ= =I/zB -----END PGP SIGNATURE----- --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86tvytabdw.fsf>