forge: --enable-pshared broken?
Hi,
trying to test a --enable-pshared build gives me this linker error:
libtool: link: ../../../scripts/wrap-link.sh gcc -g -o .libs/check-vdso check_vdso-check-vdso.o ../../lib/cobalt/.libs/libcobalt.so -lfuse -lpthread -lrt -lm -Wl,-rpath -Wl,/data/xenomai-forge/inst64/lib ../../lib/cobalt/.libs/libcobalt.so: undefined reference to `__main_heap'
Is this known/reproducible?
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RTC ITP SES-DE Corporate Competence Center Embedded Linux
Quoted 10 lines · Jan Kiszka
Hi,
trying to test a --enable-pshared build gives me this linker error:
libtool: link:
../../../scripts/wrap-link.shgcc -g -o .libs/check-vdso check_vdso-check-vdso.o ../../lib/cobalt/.libs/libcobalt.so -lfuse -lpthread -lrt -lm -Wl,-rpath -Wl,/data/xenomai-forge/inst64/lib ../../lib/cobalt/.libs/libcobalt.so: undefined reference to `__main_heap'Is this known/reproducible?
I get the same issue with cobalt, when linking the "latency" test, which in my tree uses the posix api.
Signature · 1 line
Gilles.
Quoted 10 lines · Gilles Chanteperdrix
Quoted 9 lines · Jan Kiszka
Hi,
trying to test a --enable-pshared build gives me this linker error:
libtool: link:
../../../scripts/wrap-link.shgcc -g -o .libs/check-vdso check_vdso-check-vdso.o ../../lib/cobalt/.libs/libcobalt.so -lfuse -lpthread -lrt -lm -Wl,-rpath -Wl,/data/xenomai-forge/inst64/lib ../../lib/cobalt/.libs/libcobalt.so: undefined reference to `__main_heap'
Quoted 5 lines
Quoted 1 line
Is this known/reproducible?
I get the same issue with cobalt, when linking the "latency" test, which in my tree uses the posix api.
This is an unexpected dependency on copperplate which is revealed by old linkers. Looking at this.
Signature · 1 line
Philippe.
Quoted 10 lines · Gilles Chanteperdrix
Quoted 9 lines · Jan Kiszka
Hi,
trying to test a --enable-pshared build gives me this linker error:
libtool: link:
../../../scripts/wrap-link.shgcc -g -o .libs/check-vdso check_vdso-check-vdso.o ../../lib/cobalt/.libs/libcobalt.so -lfuse -lpthread -lrt -lm -Wl,-rpath -Wl,/data/xenomai-forge/inst64/lib ../../lib/cobalt/.libs/libcobalt.so: undefined reference to `__main_heap'
Quoted 5 lines
Quoted 1 line
Is this known/reproducible?
I get the same issue with cobalt, when linking the "latency" test, which in my tree uses the posix api.
This one may help:
http://git.xenomai.org/xenomai-forge.git/commit/?h=next&id=ba1f4b636a490e42af332e0c1f079e67b96255d5
Signature · 1 line
Philippe.
Quoted 14 lines · Philippe Gerum
Quoted 13 lines · Gilles Chanteperdrix
Quoted 11 lines · Jan Kiszka
Hi,
trying to test a --enable-pshared build gives me this linker error:
libtool: link:
../../../scripts/wrap-link.shgcc -g -o .libs/check-vdso check_vdso-check-vdso.o ../../lib/cobalt/.libs/libcobalt.so -lfuse -lpthread -lrt -lm -Wl,-rpath -Wl,/data/xenomai-forge/inst64/lib ../../lib/cobalt/.libs/libcobalt.so: undefined reference to `__main_heap'Is this known/reproducible?
Quoted 7 lines
Quoted 3 lines
I get the same issue with cobalt, when linking the "latency" test, which in my tree uses the posix api.
This one may help:
http://git.xenomai.org/xenomai-forge.git/commit/?h=next&id=ba1f4b636a490e42af332e0c1f079e67b96255d5
Confirmed, it builds.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RTC ITP SES-DE Corporate Competence Center Embedded Linux