On 2021-01-08, Grant Edwards <grant.b.edwa...@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.


Reply via email to