[Bug 3193] Need to use CFI_ wrappers to build NPTL with gcc 4.2.1/binutils 2.17
bugzilla at busybox.net
bugzilla at busybox.net
Mon Feb 7 15:06:07 UTC 2011
https://bugs.busybox.net/show_bug.cgi?id=3193
Carmelo Amoroso <carmelo.amoroso at st.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Carmelo Amoroso <carmelo.amoroso at st.com> ---
Hi Rob,
I've checked it further and both .cfi_personality and .cfi_lsda are already
wrapped by the corresponding macros.
The problem is that, by default, on i386 the macro
__UCLIBC_HAVE_ASM_CFI_DIRECTIVES__ is defined (see the
__uClibc_arch_features.h), to the corresponding macro HAVE_ASM_CFI_DIRECTIVES
is also enabled.
As a temporary w/a you should just #undef it.
As a general fix, I'd suggest to have an config option
__UCLIBC_USE_ASM_CFI_DIRECTIVES__ that the user can enable/disable has he
likes,
libc-symbols shoudl do something like this:
#if defined __UCLIBC_HAVE_ASM_CFI_DIRECTIVES__ && defined
__UCLIBC_USE_ASM_CFI_DIRECTIVES__
#define HAVE_ASM_CFI_DIRECTIVES
#else
#undef HAVE_ASM_CFI_DIRECTIVES
#endif
It is similar to ARCH_HAS_MMU and ARCH_USE_MMU.
Comments ?
Cheers,
Carmelo
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the uClibc-cvs
mailing list