John David Anglin <[email protected]> 于2019年7月21日周日 上午5:03写道: > > Source: libminini > Version: 1.2.a+ds-2 > Severity: normal > > Dear Maintainer, > > The build fails in test1 with a segmentation fault: > > LD_LIBRARY_PATH=. ./test1 > Segmentation fault > > This is caused by the fact that objects linked into shared libraries need > to be compiled with the -fPIC option. This option also needs to be added > when linking shared libraries. With this problem fixed, test1 now runs > correctly but test2 fails at the following assert:
Hmm, I'm still confused why this option is not needed on any other arch?

