From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Mon, 17 Mar 2014 07:59:24 +0100 Subject: [Buildroot] Patchwork cleanup #7: triaging proposal In-Reply-To: <20140316184313.GA21975@free.fr> References: <20140316160712.GA3267@free.fr> <5325D7A3.4090704@gigabyte.getmyip.com> <20140316184313.GA21975@free.fr> Message-ID: <53269D4C.6020309@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 03/16/14 19:43, Yann E. MORIN wrote: > Micha?l, All, > > Please, do not send HTML mails, they do not make it to the list. > HTML mail is frowned upon on this list. > > On 2014-03-16 17:56 +0100, Micha?l Zweers spake thusly: >> Yann E. MORIN wrote: >> >> [v3,02/11] sunxi-mali: add explicit pthread/dl/rt dependencies >> [1]http://patchwork.ozlabs.org/patch/278295 >> >> Vote: C, unsure. There was no feedback on the reason why the change >> was needed in the first place (Peter tested and it worked). >> >> When cross compiling Qt5 for Olinuxino A13 I needed to link every Opengl program to >> -ldl -lrt -lpthread otherwise they would die during init. The sunxi OpenGl (framebuffer) binary blops probably needs them to function properly. >> (From my error logs, may be incomplete i don't really remember): >> #0 0x00000000 in ?? () #1 0x4020a584 in __pthread_initialize_minimal_internal () >> from /lib/libpthread.so.0 #2 0x40208bec in _init () from /lib/libpthread.so.0 >> #3 0x4000e0d0 in ?? () from /lib/ld-linux.so.3 >> #4 0xbefffcac in ?? () (gdb) >> >> So A, keep :) > > Can you share your .config, please, so we can try to reproduce your build > failure? > > You are reporting the exact same synptoms as the original submitter, but > that does not help understand what the problem actually is. But Michael made it clear that it's a runtime failure, not a build failure: "otherwise they would die during init" Looking at the backtrace,though, it doesn't make sense to me: the dynamic linker does resolve into /lib/libpthread.so.0, so how will an additional -lpthread at link time make a difference? Regards, Arnout > > Regards, > Yann E. MORIN. > -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F