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: [PATCH] i386/x86_64: punt HAVE_CPP_ASM_DEBUGINFO


On Sun, Aug 12, 2012 at 12:28 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> Pretty sure we require recent enough versions of gcc/binutils to make this
> check pointless.  I can't any logs in the last few years where this check
> didn't return "yes".
>
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
>
> 2012-08-12  Mike Frysinger  <vapier@gentoo.org>
>
>         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
>         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
>         * sysdeps/i386/configure: Regenerated.
>         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
>         STABS_CURRENT_FILE, and STABS_FUN.
>         (END): Remove call to STABS_FUN_END.
>         (STABS_CURRENT_FILE1): Delete.
>         (STABS_CURRENT_FILE): Likewise.
>         (STABS_FUN): Likewise.
>         (STABS_FUN_END): Likewise.
>         (STABS_FUN2): Likewise.
>         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
>         * sysdeps/x86_64/configure: Regenerated.

This caused:

http://sourceware.org/bugzilla/show_bug.cgi?id=14587

We now have

config.make.in:have-cpp-asm-debuginfo = @libc_cv_cpp_asm_debuginfo@
configure:libc_cv_cpp_asm_debuginfo
configure.in:AC_SUBST(libc_cv_cpp_asm_debuginfo)
Makeconfig:ifeq ($(have-cpp-asm-debuginfo),yes)

Since libc_cv_cpp_asm_debuginfo is never yes, we never generate
debug info for assembly codes.

-- 
H.J.


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