undefined symbol error in unwind2-dw2-fde.c
Mark E.
snowball3@bigfoot.com
Sat May 26 18:20:00 GMT 2001
Hi guys,
DJGPP (?86-pc-msdosdjgpp) currently doesn't bootstrap from gcc cvs because of
an undefined symbol error in unwind-dw2-fd2.c when configuring libstdc++ v3. I
traced the problem this code in unwind-dw2-fd2.c:
#ifdef ASM_OUTPUT_DEF
/* Note that __USER_LABEL_PREFIX__ is not a string. Stringize it. */
#define STR1(X) #X
#define STR(X) STR1(X)
void *
__deregister_frame_info (void *)
__attribute__((alias(STR(__USER_LABEL_PREFIX__)
"__deregister_frame_info_bases")));
#else
This generates the improper assembly (again with DJGPP):
.globl ___deregister_frame_info
.set ___deregister_frame_info,____deregister_frame_info_bases
The default label output code already handles the user label prefix, so I think
the use of __USER_LABEL_PREFIX__ above must go away.
Mark
More information about the Gcc-bugs
mailing list