Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647090 - media-libs/mesa-18.0.0_r3 - libtool: ld glsl/.libs/libstandalone.a: /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/32/libstdc++.so: undefined reference to `pthread_create'
Summary: media-libs/mesa-18.0.0_r3 - libtool: ld glsl/.libs/libstandalone.a: /usr/lib/...
Status: RESOLVED DUPLICATE of bug 641808
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-09 06:56 UTC by Chris Chan
Modified: 2018-03-01 06:59 UTC (History)
0 users

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


Attachments
emerge --info (info,4.76 KB, text/plain)
2018-02-09 06:57 UTC, Chris Chan
Details
build.log (middle truncated) (media-libs:mesa-18.0.0_rc3:20180209-015009.log,929.78 KB, text/plain)
2018-02-09 06:59 UTC, Chris Chan
Details
build log compressed (media-libs:mesa-18.0.0_rc4:20180214-130248.log.7z,18.76 KB, application/x-7z-compressed)
2018-02-14 11:06 UTC, cryptopsy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Chan 2018-02-09 06:56:54 UTC
could it be related to flto?
Comment 1 Chris Chan 2018-02-09 06:57:25 UTC
Created attachment 518718 [details]
emerge --info
Comment 2 Chris Chan 2018-02-09 06:59:52 UTC
Created attachment 518720 [details]
build.log (middle truncated)
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-02-10 12:00:21 UTC
(In reply to Chris Chan from comment #2)
> Created attachment 518720 [details]
> build.log (middle truncated)

Why truncated? The answer is usually to compress the file before uploading it.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2018-02-10 12:02:02 UTC
libtool: link: x86_64-pc-linux-gnu-g++ -m32 -fvisibility=hidden -Werror=pointer-arith -Werror=vla -march=native -O3 -pipe -flto -Wall -fno-math-errno -fno-trapping-math -Wl,-O1 -Wl,--as-needed -o glsl_compiler glsl/main.o  glsl/.libs/libstandalone.a -lz -lpthread -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/32/libstdc++.so: undefined reference to `pthread_create'
Comment 5 cryptopsy 2018-02-14 11:06:52 UTC
Created attachment 519408 [details]
build log compressed
Comment 6 Matt Turner gentoo-dev 2018-03-01 06:59:42 UTC
Yes, it's because of -flto.

*** This bug has been marked as a duplicate of bug 641808 ***