1 |
On 2021-01-08, Grant Edwards <grant.b.edwards@×××××.com> wrote: |
2 |
> I've noticed that when linking an applicatoin I now get warnings like this: |
3 |
> |
4 |
> /usr/lib/gcc/[...]/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread |
5 |
> /usr/lib/gcc/[...]/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread |
6 |
> /usr/lib/gcc/[...]/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc |
7 |
> /usr/lib/gcc/[...]/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc |
8 |
> |
9 |
> Those files appear to be 32-bit versions. |
10 |
|
11 |
Never mind. I just noticed that the build script is specifying -L |
12 |
/usr/lib when it should not. That's what's causing the warnings. |