Issue 84167
Summary clang-18: -ffat-lto-objects gives multiple definition of `.str.llvm.0'
Labels new issue
Assignees
Reporter stsp
    I made the bug reproducer.
Please do the following:

1. git clone https://github.com/dosemu2/fdpp.git
2. cd fdpp
3. git checkout lto-bug
4. ./bug.sh

Build process ending with:

/usr/bin/ld: /tmp/lto-llvm-00e3b8.o:(.rodata.str1.1+0x70): multiple definition of `.str.2.llvm.0'; /tmp/lto-llvm-98e51f.o:(.rodata.str1.1+0x5b): first defined here

Removing -ffat-lto-objects avoids the
problem, but unfortunately rpmbuild
in fedora forces this option.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to