[FS#1032] Build broken with cmake 3.9.3 ?

LEDE Bugs lede-bugs at lists.infradead.org
Mon Oct 2 04:28:54 PDT 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - shaarkys (shaarkys) 

Attached to Project - LEDE Project
Summary - Build broken with cmake 3.9.3 ?
Task Type - Bug Report
Category - Toolchain
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Critical
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - When building latest trunk : 

[ 23%] Linking C executable LIBCURL
/home/machine/lede/source/staging_dir/host/lib/libcrypto.a(getentropy_linux.o): In function `getentropy_fallback':
getentropy_linux.c:(.text+0x16d): undefined reference to `clock_gettime'
getentropy_linux.c:(.text+0x412): undefined reference to `clock_gettime'
collect2: error: ld returned 1 exit status
make[6]: *** [Utilities/cmcurl/LIBCURL] Error 1
make[6]: Leaving directory `/home/machine/lede/source/build_dir/host/cmake-3.9.3'
make[5]: *** [Utilities/cmcurl/CMakeFiles/LIBCURL.dir/all] Error 2
make[5]: Leaving directory `/home/machine/lede/source/build_dir/host/cmake-3.9.3'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/machine/lede/source/build_dir/host/cmake-3.9.3'
make[3]: *** [/home/machine/lede/source/build_dir/host/cmake-3.9.3/.built] Error 2
make[3]: Leaving directory `/home/machine/lede/source/tools/cmake'
make[2]: *** [tools/cmake/compile] Error 2
make[2]: Leaving directory `/home/machine/lede/source'
make[1]: *** [/home/machine/lede/source/staging_dir/target-mips_24kc_musl/stamp/.tools_compile_yynyyyyyynyyyyynyynnyyyyyyyyyyyyyyyyyyyynyynynyyyynny] Error 2
make[1]: Leaving directory `/home/machine/lede/source'
make: *** [world] Error 2

When reverting https://git.lede-project.org/?p=source.git;a=commitdiff;h=839129b86453f0b0b2b47dac5502ecc3dae7ffb3 it builds fine.
Also I'm not an expert, but is 130-curl-fix-libressl-linking.patch in the right structure ? (it contains mail headers)
   

 

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1032



More information about the lede-bugs mailing list