References: <594f0ba9-8e01-d2d2-a58e-2abcb3b72289@gmail.com> <74da7f07-6df9-5a5f-ff63-b414437749b2@xenomai.org> <1dbe3f00-a866-248c-3799-a0d8efeee4e4@gmail.com> <2e75fd33-8998-4cfb-6fa6-bef20f37f2dc@gmail.com> <9c2a8966-09c2-cc32-9a7b-fe16339d9c80@gmail.com> <6430f861-a017-02e8-ba19-9a75aedc9475@gmail.com> From: Edouard Tisserant Message-ID: <1a298a3a-7961-8ea1-9f2f-00a1b68d9f25@gmail.com> Date: Wed, 16 May 2018 11:20:46 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [Xenomai] Crash with longer dlopen/dlcose sequence List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum , "Xenomai (xenomai@xenomai.org)" >>>> [Xenomai] bad syscall <0xf0002> > Thanks for digging this out. Could you try this patch, keeping the relocation enabled in your build? TIA, Works for me : No more "bad syscall" complain even if linking with some non -fPIC compiled objects.