From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <52F34D40.8000205@xenomai.org> Date: Thu, 06 Feb 2014 09:52:16 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <52F27AAD.8050809@siemens.com> <52F2983E.5080505@xenomai.org> In-Reply-To: <52F2983E.5080505@xenomai.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] forge: --enable-pshared broken? List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix , Jan Kiszka Cc: Xenomai On 02/05/2014 08:59 PM, Gilles Chanteperdrix wrote: > On 02/05/2014 06:53 PM, Jan Kiszka wrote: >> 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? > > 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. -- Philippe.