[Buildroot] Segmentation faults after gcc update
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Sep 30 19:59:15 UTC 2011
Le Fri, 30 Sep 2011 11:06:46 +0200,
Sven Neumann <s.neumann at raumfeld.com> 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
More information about the buildroot
mailing list