svn commit: r452497 - in head/devel: flang flang-clang flang/files

Joseph Mingrone jrm at FreeBSD.org
Fri Oct 20 19:05:09 UTC 2017


Johannes M Dieterich <jmd at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 962 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20171020/05dc2c23/attachment.sig>


More information about the svn-ports-all mailing list