Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 833181 Details for
Bug 881579
toolchain-funcs.eclass: tc-get-rtlib change causes failure to build sci-libs/lapack or other Fortran packages with Clang
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
lapack build log
build.log (text/x-log), 6.12 KB, created by
jon R-B
on 2022-11-17 16:57:16 UTC
(
hide
)
Description:
lapack build log
Filename:
MIME Type:
Creator:
jon R-B
Created:
2022-11-17 16:57:16 UTC
Size:
6.12 KB
patch
obsolete
> * Package: sci-libs/lapack-3.11:0 > * Repository: gentoo > * Maintainer: sci@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc eselect-ldso kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking lapack-3.11.tar.gz to /var/tmp/portage/sci-libs/lapack-3.11/work >>>> Source unpacked in /var/tmp/portage/sci-libs/lapack-3.11/work >>>> Preparing source in /var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11 ... > * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11" > * Build directory (BUILD_DIR): "/var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11_build" > * Hardcoded definition(s) removed in CMakeLists.txt: > * set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11 ... > * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11" > * Build directory (BUILD_DIR): "/var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11_build" >cmake -C /var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCBLAS=ON -DLAPACKE=no -DBUILD_DEPRECATED=no -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=no -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11_build/gentoo_toolchain.cmake /var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11 >loading initial cache file /var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11_build/gentoo_common_config.cmake >-- The Fortran compiler identification is GNU 12.2.1 >-- The C compiler identification is Clang 15.0.4 >-- Detecting Fortran compiler ABI info >-- Detecting Fortran compiler ABI info - done >-- Check for working Fortran compiler: /usr/bin/x86_64-pc-linux-gnu-gfortran - skipped >-- Detecting C compiler ABI info >-- Detecting C compiler ABI info - done >-- Check for working C compiler: /usr/lib/llvm/15/bin/clang - skipped >-- Detecting C compile features >-- Detecting C compile features - done >-- Checking if build type is 'Coverage' >-- Checking if build type is 'Coverage': 0 >-- Performing Test _frecursiveFlag >-- Performing Test _frecursiveFlag - Success >-- Build tests: no >-- Reducing RELEASE optimization level to O2 >-- Looking for Fortran NONE - found >-- Looking for Fortran INT_CPU_TIME - found >-- Looking for Fortran EXT_ETIME - not found >-- Looking for Fortran EXT_ETIME_ - not found >-- Looking for Fortran INT_ETIME - found >-- --> Will use second_INT_ETIME.f and dsecnd_INT_ETIME.f as timing function. >-- Build deprecated routines: no >-- Build single precision real: ON >-- Build double precision real: ON >-- Build single precision complex: ON >-- Build double precision complex: ON >-- Using supplied NETLIB BLAS implementation >-- CBLAS enable >-- Detecting Fortran/C Interface >[0mFailed to compile[0m >-- Verifying Fortran/C Compiler Compatibility >[0mFailed to compile[0m >[33mCMake Warning (dev) at /usr/share/cmake/Modules/FortranCInterface.cmake:309 (message): > No FortranCInterface mangling known for VerifyFortran >Call Stack (most recent call first): > /usr/share/cmake/Modules/FortranCInterface/Verify/CMakeLists.txt:16 (FortranCInterface_HEADER) >This warning is for project developers. Use -Wno-dev to suppress it. >[0m >-- Verifying Fortran/C Compiler Compatibility - Failed >[31mCMake Error at /usr/share/cmake/Modules/FortranCInterface.cmake:400 (message): > The Fortran compiler: > > /usr/bin/x86_64-pc-linux-gnu-gfortran > > and the C compiler: > > /usr/lib/llvm/15/bin/clang > > failed to compile a simple test project using both languages. The output > was: > > Change Dir: /var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11_build/CMakeFiles/FortranCInterface/VerifyC > > Run Build Command(s):/usr/bin/ninja VerifyFortranC && [1/7] Building Fortran preprocessed CMakeFiles/VerifyFortran.dir/VerifyFortran.f-pp.f > [2/7] Generating Fortran dyndep file CMakeFiles/VerifyFortran.dir/Fortran.dd > [3/7] Building C object CMakeFiles/VerifyFortranC.dir/VerifyC.c.o > [4/7] Building C object CMakeFiles/VerifyFortranC.dir/main.c.o > [5/7] Building Fortran object CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o > [6/7] Linking Fortran static library libVerifyFortran.a > [7/7] Linking C executable VerifyFortranC > FAILED: VerifyFortranC > : && /usr/lib/llvm/15/bin/clang -O3 -pipe -march=x86-64-v3 -mtune=native -flto=thin -O3 -DNDEBUG -Wl,-O1 -Wl,--as-needed CMakeFiles/VerifyFortranC.dir/main.c.o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -o VerifyFortranC libVerifyFortran.a -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lgcc_s -lgcc && : > ld.lld: error: undefined symbol: VerifyFortran > >>> referenced by main.c > >>> lto.tmp:(main) > clang-15: error: linker command failed with exit code 1 (use -v to see invocation) > ninja: build stopped: subcommand failed. > > >Call Stack (most recent call first): > CBLAS/CMakeLists.txt:9 (FortranCInterface_VERIFY) > >[0m >-- Configuring incomplete, errors occurred! >See also "/var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11_build/CMakeFiles/CMakeOutput.log". >See also "/var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11_build/CMakeFiles/CMakeError.log". > * ERROR: sci-libs/lapack-3.11::gentoo failed (configure phase): > * cmake failed > * > * Call stack: > * ebuild.sh, line 122: Called src_configure > * environment, line 3086: Called cmake_src_configure > * environment, line 1531: Called die > * The specific snippet of code: > * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; > * > * If you need support, post the output of `emerge --info '=sci-libs/lapack-3.11::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sci-libs/lapack-3.11::gentoo'`. > * The complete build log is located at '/var/tmp/portage/sci-libs/lapack-3.11/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sci-libs/lapack-3.11/temp/environment'. > * Working directory: '/var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11_build' > * S: '/var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 881579
: 833181