This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: microblaze build fails w/


On 14 Aug 2015 11:59, Andreas Schwab wrote:
> Mike Frysinger <vapier@gentoo.org> writes:
> > /usr/local/src/gnu/glibc/stdio-common/isoc99_scanf.c:27: undefined reference to `_Unwind_SjLj_Register'
> 
> I don't think we support sjlj exceptions.
> 
> > any idea ?  if i add -lgcc_s to the link line, it passes.  config.log attached.
> 
> Make sure the compiler properly supports dwarf2 exceptions.

i'm using the default configuration options here generally speaking.
i'm def not passing --enable-sjlj-exceptions down (we don't for any
arch in Gentoo).

CONFIG_SJLJ_EXCEPTIONS is #undef in the config.h.  but the C++ code has
_GLIBCXX_SJLJ_EXCEPTIONS defined.  i rebuilt gcc with an explicit 
--disable-sjlj-exceptions to be sure, but it's still failing with sjlj
link errors.  i'll keep poking the gcc source to see why it's dumb.

thanks for the pointers.
-mike

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]