Bug#958546: arm-linux-gnueabi-gcc ignores glibc in sysroot

2020-04-23 Thread Andrei POPESCU
Control: reassign -1 gcc-arm-linux-gnueabi 4:8.3.0-1 On Jo, 23 apr 20, 22:54:09, Lin Zhangpeng wrote: > Package: gcc-arm-linux-gnueabi Version: 4:8.3.0-1 When I compile a program > with `arm-linux-gnueabi-gcc --sysroot /path/to/sysroot foo.c -o foo' , the > output `foo' linked to the glibc from

Bug#958546: arm-linux-gnueabi-gcc ignores glibc in sysroot

2020-04-23 Thread Lin Zhangpeng
Package: gcc-arm-linux-gnueabi Version: 4:8.3.0-1 When I compile a program with `arm-linux-gnueabi-gcc --sysroot /path/to/sysroot foo.c -o foo' , the output `foo' linked to the glibc from libc6-armel-cross, rather than that in `/path/to/sysroot' Steps to reproduce: 1. Prepare dummy.c: `int main(