[MacPorts] #46040: llvm-*, clang-*: all binaries are overlinked to libedit, libffi, ncurses, and zlib
MacPorts
noreply at macports.org
Fri Dec 12 19:10:48 PST 2014
#46040: llvm-*, clang-*: all binaries are overlinked to libedit, libffi, ncurses,
and zlib
-------------------------------------------------+-------------------------
Reporter: pj@… | Owner: larryv@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: clang-3.3 llvm-3.3 clang-3.4 |
llvm-3.4 clang-3.5 llvm-3.5 clang-3.6 |
llvm-3.6 |
-------------------------------------------------+-------------------------
Comment (by larryv@…):
This is the failure:
{{{
configure:6026: checking LAPACK/BLAS flags
configure:6060: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fno-
stack-protector -I/opt/local/include -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch x86_64 conftest.c -llapack -lblas
>&5
Undefined symbols for architecture x86_64:
"_ATL_dger", referenced from:
_ATL_dgetf2 in liblapack.a(ATL_dgetf2.o)
"_ATL_xerbla", referenced from:
_atl_f77wrap_dgesv_ in liblapack.a(ATL_f77wrap_dgesv.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
configure:6060: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenModelica"
| #define PACKAGE_TARNAME "openmodelica"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "OpenModelica dev"
| #define PACKAGE_BUGREPORT "https://trac.openmodelica.org/OpenModelica"
| #define PACKAGE_URL "https://openmodelica.org"
| #define YYTEXT_POINTER 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETCWD 1
| #define HAVE_SELECT 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dgesv_ ();
| int
| main ()
| {
| return dgesv_ ();
| ;
| return 0;
| }
configure:6063: error: dgesv (LAPACK) linking failed using -llapack -lblas
}}}
This has nothing to do with LLVM. Please open a new ticket.
--
Ticket URL: <https://trac.macports.org/ticket/46040#comment:25>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list