[Bug ld/28622] Common symbol version information wrong in ld.bfd-linked library

2021-12-07 Thread tbaeder at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28622 Timm Bäder changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug ld/28622] Common symbol version information wrong in ld.bfd-linked library

2021-11-24 Thread tbaeder at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28622 --- Comment #2 from Timm Bäder --- Ok, with current ld.bfd from the master branch, I get lib1.so: file format elf64-x86-64 DYNAMIC SYMBOL TABLE: w D *UND* Base _ITM_deregisterTMCloneTable 00

[Bug ld/28622] New: Common symbol version information wrong in ld.bfd-linked library

2021-11-24 Thread tbaeder at redhat dot com
Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: tbaeder at redhat dot com Target Milestone: --- Using this reproducer script: #!/bin/sh echo '.globl foo' > foo.s echo '.comm foo,1,1' >> foo.s # foo v

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-05 Thread tbaeder at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 --- Comment #10 from Timm Bäder --- I had problems when installing a new master checkout of binutils system-wide, but applying that patch to a 2.36.1 checkout and installing the rpm for that works and lets me compile LLVM with clang, ld.bfd an

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-02 Thread tbaeder at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 --- Comment #5 from Timm Bäder --- # /usr/bin/ld --version GNU ld (GNU Binutils) 2.36.50.20210702 Copyright (C) 2021 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Publi

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-02 Thread tbaeder at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 --- Comment #3 from Timm Bäder --- Oh, I forgot: The binutils I have installed is 2.35.1-41 (which seems to be the latest build for F34) -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-02 Thread tbaeder at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 --- Comment #2 from Timm Bäder --- On Fedora 34, in a fresh LLVM checkout on the main branch, I can reproduce this via: CC=clang CXX=clang++ cmake ../llvm -GNinja -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_LTO=ON The build eventually fails wi

[Bug ld/28040] New: libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-01 Thread tbaeder at redhat dot com
Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: tbaeder at redhat dot com Target Milestone: --- This is a forward of https://bugzilla.redhat.com/show_bug.cgi?id=1954375 and https://reviews.llvm.org/D104230 ld.bfd (or rather