Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2020 10:57:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 244790] World does not compile ld does not find -lm
Message-ID:  <bug-244790-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244790

            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@FreeBSD.org
          Reporter: tschweikle@gmail.com

FreeBSD fbsd11.bfs.de 11.3-STABLE FreeBSD 11.3-STABLE #0 r356598: Mon Jan 13
10:31:55 CET 2020     root@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=3D\"x86_64-unknown-freebsd11.3\"
-DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd11.3\"
-DDEFAULT_SYSROOT=3D\"/usr/obj/usr/src/tmp\" -DLLVM_TARGET_ENABLE_AARCH64
-DLLVM_TARGET_ENABLE_ARM -DLLVM_TARGET_ENABLE_MIPS -DLLVM_TARGET_ENABLE_POW=
ERPC
-DLLVM_TARGET_ENABLE_SPARC -DLLVM_TARGET_ENABLE_X86
-DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeX86AsmParser
-DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializeX86AsmPrinter
-DLLVM_NATIVE_DISASSEMBLER=3DLLVMInitializeX86Disassembler
-DLLVM_NATIVE_TARGET=3DLLVMInitializeX86Target
-DLLVM_NATIVE_TARGETINFO=3DLLVMInitializeX86TargetInfo
-DLLVM_NATIVE_TARGETMC=3DLLVMInitializeX86TargetMC -ffunction-sections
-fdata-sections -g -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/inc=
lude
-std=3Dc++11 -fno-exceptions -fno-rtti -stdlib=3Dlibc++ -Wno-c++11-extensio=
ns=20
-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=20
-lncursesw  -lpthread -legacy
/usr/bin/ld: cannot find -lm
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
*** 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 ...

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244790-227>