This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/21029] glibc-2.23 (and later) fails to compile with -fno-omit-frame-pointer on i386
- From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 06 Jan 2017 20:11:08 +0000
- Subject: [Bug libc/21029] glibc-2.23 (and later) fails to compile with -fno-omit-frame-pointer on i386
- Auto-submitted: auto-generated
- References: <bug-21029-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21029
Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adhemerval.zanella at linaro dot o
| |rg
--- Comment #1 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
AFAIK it is not an issue because 'ebp' is this context is used on kernel ABI to
pass the 6th argument (the file sysdeps/unix/sysv/linux/i386/sysdep.h contains
a comment about the linux convention for i686).
Unless there is a compiler option to make easier to create syscall macros (so
compiler can restore ebp somehow), you will need to explict disable
-fno-omit-frame-pointer on these files.
Another option would to code this syscalls in asm, but I will advise against
since to make i386 to use the generic code is exactly to avoid the
proliferation of such implementations.
--
You are receiving this mail because:
You are on the CC list for the bug.