Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729520 - app-text/barcode-0.99-r1 fails to compile: ld.lld: error: undefined symbol: rpl_calloc
Summary: app-text/barcode-0.99-r1 fails to compile: ld.lld: error: undefined symbol: r...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang LD-is-lld, systemwide-lld
  Show dependency tree
 
Reported: 2020-06-25 07:57 UTC by Agostino Sarubbo
Modified: 2022-06-16 00:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,97.65 KB, text/plain)
2020-06-25 07:57 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-06-25 07:57:25 UTC
@@This is an auto-filed bug@@
Feel free to change the summary at your convenience.

Issue: app-text/barcode fails to compile.
Discovered on: amd64

NOTE:
If yout think this issue is related to clang/llvm toolchain, please block bug 408963. If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-25 07:57:30 UTC
Created attachment 646230 [details]
build.log

build log and emerge --info
Comment 2 Matthias Maier gentoo-dev 2021-05-16 18:42:23 UTC
This is an LLVM/Clang issue/incompatibility. Reproduced with

  CC=clang CXX=clang++ ebuild barcode-0.99.ebuild install

(installation with gcc works fine.)

% clang --version
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin

% ld.lld --version
LLD 11.1.0 (compatible with GNU linkers)
Comment 3 Agostino Sarubbo gentoo-dev 2021-12-14 14:34:10 UTC
tinderbox has reproduced this issue with version 0.99-r1 - Updating summary.