NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
xsrc/54457: failure to build gallium_dri.so
>Number: 54457
>Category: xsrc
>Synopsis: failure to build gallium_dri.so
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: xsrc-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 11 13:30:01 +0000 2019
>Originator: Martin Husemann
>Release: NetBSD 9.99.7
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD seven-days-to-the-wolves.aprisoft.de 9.99.7 NetBSD 9.99.7 (GENERIC) #299: Sun Aug 11 09:54:13 CEST 2019 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
I have no idea what I am doing wrong, but on this machine builds fail for me
with:
# build gallium/gallium_dri.so.0.link
rm -f gallium_dri.so.0.link
/work/tools/bin/x86_64--netbsd-c++ -shared -Wl,-soname,gallium_dri.so.0 -Wl,--warn-shared-textrel -Wl,-Map=gallium_dri.so.0.map --sysroot=/ -pthread -Wl,--version-script=/work/xsrc/external/mit/MesaLib/dist/src/gallium/targets/dri/dri.sym -Wl,-z,relro -Wl,-rpath,/usr/X11R7/lib -L=/usr/X11R7/lib -o gallium_dri.so.0.link.tmp -Wl,-rpath-link,//lib -L=/lib -Wl,-x -Wl,--whole-archive gallium_dri_pic.a -Wl,--no-whole-archive /work/obj/external/bsd/llvm/librt/libLLVMTransformsCoroutines/libLLVMTransformsCoroutines_pic.a /work/obj/external/bsd/llvm/librt/libLLVMPasses/libLLVMPasses_pic.a /work/obj/external/bsd/llvm/librt/libLLVMMCJIT/libLLVMMCJIT_pic.a /work/obj/external/bsd/llvm/librt/libLLVMExecutionEngine/libLLVMExecutionEngine_pic.a /work/obj/external/bsd/llvm/librt/libLLVMRuntimeDyld/libLLVMRuntimeDyld_pic.a /work/obj/external/bsd/llvm/librt/libLLVMAMDGPUCodeGen/libLLVMAMDGPUCodeGen_pic.a /work/obj/external/bsd/llvm/librt/libLLVMAMDGPUMCTargetDesc/libLLVMAMDGPUMCTargetDesc_pic.
a /work/obj/external/bsd/llvm/librt/libLLVMAMDGPUAsmPrinter/libLLVMAMDGPUAsmPrinter_pic.a /work/obj/external/bsd/llvm/librt/libLLVMAMDGPUTargetInfo/libLLVMAMDGPUTargetInfo_pic.a /work/obj/external/bsd/llvm/librt/libLLVMAMDGPUAsmParser/libLLVMAMDGPUAsmParser_pic.a /work/obj/external/bsd/llvm/librt/libLLVMAMDGPUUtils/libLLVMAMDGPUUtils_pic.a /work/obj/external/bsd/llvm/librt/libLLVMX86Disassembler/libLLVMX86Disassembler_pic.a /work/obj/external/bsd/llvm/librt/libLLVMX86CodeGen/libLLVMX86CodeGen_pic.a /work/obj/external/bsd/llvm/librt/libLLVMX86MCTargetDesc/libLLVMX86MCTargetDesc_pic.a /work/obj/external/bsd/llvm/librt/libLLVMX86Disassembler/libLLVMX86Disassembler_pic.a /work/obj/external/bsd/llvm/librt/libLLVMX86MCTargetDesc/libLLVMX86MCTargetDesc_pic.a /work/obj/external/bsd/llvm/librt/libLLVMX86AsmPrinter/libLLVMX86AsmPrinter_pic.a /work/obj/external/bsd/llvm/librt/libLLVMX86TargetInfo/libLLVMX86TargetInfo_pic.a /work/obj/external/bsd/llvm/librt/libLLVMX86Utils/libLLVMX86Utils_pic.a
/work/obj/external/bsd/llvm/librt/libLLVMGlobalISel/libLLVMGlobalISel_pic.a /work/obj/external/bsd/llvm/librt/libLLVMMCDisassembler/libLLVMMCDisassembler_pic.a /work/obj/external/bsd/llvm/librt/libLLVMSelectionDAG/libLLVMSelectionDAG_pic.a /work/obj/external/bsd/llvm/librt/libLLVMAsmPrinter/libLLVMAsmPrinter_pic.a /work/obj/external/bsd/llvm/librt/libLLVMCodeGen/libLLVMCodeGen_pic.a /work/obj/external/bsd/llvm/librt/libLLVMTarget/libLLVMTarget_pic.a /work/obj/external/bsd/llvm/librt/libLLVMInstCombine/libLLVMInstCombine_pic.a /work/obj/external/bsd/llvm/librt/libLLVMScalarOpts/libLLVMScalarOpts_pic.a /work/obj/external/bsd/llvm/librt/libLLVMDebugInfoCodeView/libLLVMDebugInfoCodeView_pic.a /work/obj/external/bsd/llvm/librt/libLLVMObject/libLLVMObject_pic.a /work/obj/external/bsd/llvm/librt/libLLVMBitReader/libLLVMBitReader_pic.a /work/obj/external/bsd/llvm/librt/libLLVMMCParser/libLLVMMCParser_pic.a /work/obj/external/bsd/llvm/librt/libLLVMMC/libLLVMMC_pic.a /work/obj/external/bsd/l
lvm/librt/libLLVMipo/libLLVMipo_pic.a /work/obj/external/bsd/llvm/librt/libLLVMInstrumentation/libLLVMInstrumentation_pic.a /work/obj/external/bsd/llvm/librt/libLLVMIRReader/libLLVMIRReader_pic.a /work/obj/external/bsd/llvm/librt/libLLVMAsmParser/libLLVMAsmParser_pic.a /work/obj/external/bsd/llvm/librt/libLLVMVectorize/libLLVMVectorize_pic.a /work/obj/external/bsd/llvm/librt/libLLVMTransformsAggressiveInstCombine/libLLVMTransformsAggressiveInstCombine_pic.a /work/obj/external/bsd/llvm/librt/libLLVMProfileData/libLLVMProfileData_pic.a /work/obj/external/bsd/llvm/librt/libLLVMAnalysis/libLLVMAnalysis_pic.a /work/obj/external/bsd/llvm/librt/libLLVMIR/libLLVMIR_pic.a /work/obj/external/bsd/llvm/librt/libLLVMLinker/libLLVMLinker_pic.a /work/obj/external/bsd/llvm/librt/libLLVMBinaryFormat/libLLVMBinaryFormat_pic.a /work/obj/external/bsd/llvm/librt/libLLVMTransformsUtils/libLLVMTransformsUtils_pic.a /work/obj/external/bsd/llvm/librt/libLLVMSupport/libLLVMSupport_pic.a -lterminfo -lpthread
-L/work/obj/lib/libpthread -lpthread -L/work/obj/lib/libm -lm -L/work/obj/external/mit/xorg/lib/libdrm -ldrm -L/work/obj/external/mit/xorg/lib/libdrm_intel -ldrm_intel -L/work/obj/external/mit/xorg/lib/libdrm_radeon -ldrm_radeon -L/work/obj/external/mit/xorg/lib/libdrm_amdgpu -ldrm_amdgpu -L/work/obj/external/mit/xorg/lib/libdrm_nouveau -ldrm_nouveau -L/work/obj/external/mit/xorg/lib/libglapi -lglapi -L/work/obj/external/mit/expat/lib/libexpat -lexpat -L/work/obj/lib/libterminfo -lterminfo -L/work/obj/lib/libz -lz -L/work/obj/lib/libexecinfo -lexecinfo -L/work/obj/external/mit/xorg/lib/libX11/libX11-xcb -lX11-xcb -L/work/obj/external/mit/xorg/lib/libxcb/dri2 -lxcb-dri2
/work/tools/lib/gcc/x86_64--netbsd/7.4.0/../../../../x86_64--netbsd/bin/ld: /work/obj/external/bsd/llvm/librt/libLLVMAMDGPUCodeGen/libLLVMAMDGPUCodeGen_pic.a(AMDGPUCodeGenPrepare.pico)(.debug_info+0x10bfb08): reloc against `.debug_str': error 4
/work/tools/lib/gcc/x86_64--netbsd/7.4.0/../../../../x86_64--netbsd/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
>How-To-Repeat:
no idea, fails consistently on this machine
>Fix:
n/a
Home |
Main Index |
Thread Index |
Old Index