From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Fri, 30 Sep 2011 21:59:15 +0200 Subject: [Buildroot] Segmentation faults after gcc update In-Reply-To: <1317373796.20520.3.camel@sven> References: <1317110841.20688.12.camel@sven> <20110927233506.55cb52a2@skate> <1317221262.8481.4.camel@sven> <1317373796.20520.3.camel@sven> Message-ID: <20110930215915.3d7fad80@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Le Fri, 30 Sep 2011 11:06:46 +0200, Sven Neumann a ?crit : > > I don't quite understand why libthread_db is not found as I did enable > > BR2_PTHREAD_DEBUG for this build and recompiled everything. Anyway, I > > tried gdb on a different (crashing) binary and it crashes in > > _dl_get_tls_static_info() as well. > > I have now added some debug output to _dl_get_tls_static_info() and > related functions and from that I can tell that gdb is wrong here. The > code does definitely not crash in _dl_get_tls_static_info() and not in > _dl_update_slotinfo() either. > > Now I am somewhat stuck. Any further ideas on how I could tackle this > problem? I guess the whole stack trace is stupid, because I don't see how hasmntopt() can end up calling sched_get_priority_max(): char *hasmntopt(const struct mntent *mnt, const char *opt) { return strstr(mnt->mnt_opts, opt); } Maybe you should raise the issue on the uClibc mailing list? Regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com