public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] ld: skipping incompatible /usr/lib/libpthread.so
@ 2021-01-08 16:54 Grant Edwards
  2021-01-08 16:59 ` [gentoo-user] " Grant Edwards
  0 siblings, 1 reply; 2+ messages in thread
From: Grant Edwards @ 2021-01-08 16:54 UTC (permalink / raw
  To: gentoo-user

I've noticed that when linking an applicatoin I now get warnings like this:

 /usr/lib/gcc/[...]/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
 /usr/lib/gcc/[...]/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
 /usr/lib/gcc/[...]/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
 /usr/lib/gcc/[...]/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc

Those files appear to be 32-bit versions.

Did I screw something up back when updating the profile from 17.0 to 17.1?

--
Grant





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-user] Re: ld: skipping incompatible /usr/lib/libpthread.so
  2021-01-08 16:54 [gentoo-user] ld: skipping incompatible /usr/lib/libpthread.so Grant Edwards
@ 2021-01-08 16:59 ` Grant Edwards
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Edwards @ 2021-01-08 16:59 UTC (permalink / raw
  To: gentoo-user

On 2021-01-08, Grant Edwards <grant.b.edwards@gmail.com> wrote:
> I've noticed that when linking an applicatoin I now get warnings like this:
>
>  /usr/lib/gcc/[...]/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
>  /usr/lib/gcc/[...]/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
>  /usr/lib/gcc/[...]/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
>  /usr/lib/gcc/[...]/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
>
> Those files appear to be 32-bit versions.

Never mind. I just noticed that the build script is specifying -L
/usr/lib when it should not. That's what's causing the warnings.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-08 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-08 16:54 [gentoo-user] ld: skipping incompatible /usr/lib/libpthread.so Grant Edwards
2021-01-08 16:59 ` [gentoo-user] " Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox