Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596504 - sys-apps/iproute2 with net-libs/libmnl-1.0.3-r1 built with LLVM/CLANG - bearer.c:(.text+0xfd): undefined reference to `mnl_attr_nest_start'
Summary: sys-apps/iproute2 with net-libs/libmnl-1.0.3-r1 built with LLVM/CLANG - beare...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2016-10-08 04:14 UTC by Aleksander
Modified: 2016-11-11 19:57 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,89.41 KB, text/plain)
2016-10-16 02:19 UTC, Aleksander
Details
emerge --info (emerge.info,15.88 KB, text/plain)
2016-10-16 02:19 UTC, Aleksander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksander 2016-10-08 04:14:53 UTC
emerge --info: https://paste.pound-python.org/show/uNgqWnyfssvN1BUncdlJ/
build.log: https://paste.pound-python.org/show/7whMQoY02FhZ3diLLHiS/

Reproducible: Always

Steps to Reproduce:
1. Set clang as system compiler
2. Try to build iproute2
3. ...
4. Profit!
Comment 1 Aleksander 2016-10-08 04:20:59 UTC
Ooops.
Now it fails to build event with gcc with same error.

I setup llvm/clang as system compiler and try to rebuild system:
emerge -e system
Comment 2 Aleksander 2016-10-08 04:25:42 UTC
Problem that libmnl build with clang.
If i rebuild it with gcc, iproute2 builds fine even with llvm/clang
Comment 3 Aleksander 2016-10-08 04:28:42 UTC
Problem with stable libmnl from portage(1.0.3-r1)
If i unmask 1.0.4 everything builds fine with LLVM/CLANG

Sorry for all this flood.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2016-10-15 12:08:04 UTC
(In reply to Aleksander from comment #0)
> emerge --info: https://paste.pound-python.org/show/uNgqWnyfssvN1BUncdlJ/
> build.log: https://paste.pound-python.org/show/7whMQoY02FhZ3diLLHiS/

Attach those, please.
Comment 5 Aleksander 2016-10-16 02:19:07 UTC
Created attachment 450334 [details]
build.log
Comment 6 Aleksander 2016-10-16 02:19:24 UTC
Created attachment 450336 [details]
emerge --info
Comment 7 SpanKY gentoo-dev 2016-11-11 19:57:28 UTC
if it's fixed already with 1.0.4, then there's nothing to do here

for new experimental work, we rarely care about the state of the stable tree.  make sure things are working in unstable, and eventually that state converges into the stable tree.