[Bug 244790] World does not compile ld does not find -lm
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Mar 13 10:57:43 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244790
Bug ID: 244790
Summary: World does not compile ld does not find -lm
Product: Base System
Version: 11.3-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: bugs at FreeBSD.org
Reporter: tschweikle at gmail.com
FreeBSD fbsd11.bfs.de 11.3-STABLE FreeBSD 11.3-STABLE #0 r356598: Mon Jan 13
10:31:55 CET 2020 root at fbsd11.bfs.de:/usr/obj/usr/src/sys/FBSD11 amd64
c++ -O2 -pipe -I/usr/obj/usr/src/tmp/usr/src/lib/clang/libllvm
-I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include
-DLLVM_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
-DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.3\"
-DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.3\"
-DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\" -DLLVM_TARGET_ENABLE_AARCH64
-DLLVM_TARGET_ENABLE_ARM -DLLVM_TARGET_ENABLE_MIPS -DLLVM_TARGET_ENABLE_POWERPC
-DLLVM_TARGET_ENABLE_SPARC -DLLVM_TARGET_ENABLE_X86
-DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser
-DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter
-DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler
-DLLVM_NATIVE_TARGET=LLVMInitializeX86Target
-DLLVM_NATIVE_TARGETINFO=LLVMInitializeX86TargetInfo
-DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC -ffunction-sections
-fdata-sections -g -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include
-std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions
-Wl,--gc-sections -static -L/usr/obj/usr/src/tmp/legacy/usr/lib -o
llvm-tblgen.full AsmMatcherEmitter.o AsmWriterEmitter.o AsmWriterInst.o
Attributes.o CTagsEmitter.o CallingConvEmitter.o CodeEmitterGen.o
CodeGenDAGPatterns.o CodeGenHwModes.o CodeGenInstruction.o CodeGenMapTable.o
CodeGenRegisters.o CodeGenSchedule.o CodeGenTarget.o DAGISelEmitter.o
DAGISelMatcher.o DAGISelMatcherEmitter.o DAGISelMatcherGen.o
DAGISelMatcherOpt.o DFAPacketizerEmitter.o DisassemblerEmitter.o
ExegesisEmitter.o FastISelEmitter.o FixedLenDecoderEmitter.o
GlobalISelEmitter.o InfoByHwMode.o InstrDocsEmitter.o InstrInfoEmitter.o
IntrinsicEmitter.o OptParserEmitter.o PredicateExpander.o
PseudoLoweringEmitter.o RISCVCompressInstEmitter.o RegisterBankEmitter.o
RegisterInfoEmitter.o SDNodeProperties.o SearchableTableEmitter.o
SubtargetEmitter.o SubtargetFeatureInfo.o TableGen.o Types.o
WebAssemblyDisassemblerEmitter.o X86DisassemblerTables.o
X86EVEX2VEXTablesEmitter.o X86FoldTablesEmitter.o X86ModRMFilters.o
X86RecognizableInstr.o
/usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmminimal/libllvmminimal.a
-lncursesw -lpthread -legacy
/usr/bin/ld: cannot find -lm
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
make[3]: stopped in /usr/src/usr.bin/clang/llvm-tblgen
*** Error code 1
Stop.
make[2]: stopped in /usr/src
*** Error code 1
Stop.
make[1]: stopped in /usr/src
*** Error code 1
Stop.
make: stopped in /usr/src
looks like ld takes some flags for a file ...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list