From: Cyril Arnould <cyril.arnould@outlook.com>
To: "eliz@gnu.org" <eliz@gnu.org>
Cc: "András Svraka" <svraka.andras@gmail.com>,
"63752@debbugs.gnu.org" <63752@debbugs.gnu.org>
Subject: bug#63752: 28.2; GCC 13.1 breaks Emacs subprocess handling when built with -D_FORTIFY_SOURCE
Date: Fri, 30 Jun 2023 22:41:26 +0000 [thread overview]
Message-ID: <AS4PR10MB6110CC83B37D55BEBA773DF2E32AA@AS4PR10MB6110.EURPRD10.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <AS4PR10MB61108173EEBD22AC88ABE125E3449@AS4PR10MB6110.EURPRD10.PROD.OUTLOOK.COM>
[-- Attachment #1.1: Type: text/plain, Size: 572 bytes --]
I've found that I can narrow it down similar to bug #63365: As long as I
don't compile src/sysdep.c with -D_FORTIFY_SOURCE, the resulting
binaries seem to behave normally. Does that maybe suggest an upstream
problem? I compiled it as follows:
git clean -xdf
git checkout emacs-28.2
./autogen.sh
./configure
cd src
make sysdep.o CFLAGS='-g3 -O2 -gdwarf-2 -Wp,-D_FORTIFY_SOURCE=2'
make sysdep.o -W sysdep.c
cd ..
make CFLAGS='-g3 -O2 -gdwarf-2 -Wp,-D_FORTIFY_SOURCE=2'
I've attached the objects as well as their dumps in case anyone wants to
take a look.
[-- Attachment #1.2: Type: text/html, Size: 2162 bytes --]
[-- Attachment #2: sysdep-diff.tar.gz --]
[-- Type: application/x-gzip, Size: 866575 bytes --]
next prev parent reply other threads:[~2023-06-30 22:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-27 12:57 bug#63752: 28.2; GCC 13.1 breaks Emacs subprocess handling when built with -D_FORTIFY_SOURCE Cyril Arnould
2023-05-27 13:42 ` Eli Zaretskii
2023-05-27 14:32 ` bug#63752: AW: " Cyril Arnould
2023-06-01 7:31 ` András Svraka
2023-06-30 22:41 ` Cyril Arnould [this message]
2023-07-01 6:40 ` Eli Zaretskii
2023-07-05 20:23 ` Cyril Arnould
2023-07-06 5:28 ` Eli Zaretskii
2023-07-06 19:28 ` Cyril Arnould
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AS4PR10MB6110CC83B37D55BEBA773DF2E32AA@AS4PR10MB6110.EURPRD10.PROD.OUTLOOK.COM \
--to=cyril.arnould@outlook.com \
--cc=63752@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=svraka.andras@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).