public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66754] [4.9/5/6] gcc.dg/builtin-apply2.c aborts with -m32 -mregparm=3 Date: Fri, 03 Jul 2015 15:13:00 -0000 [thread overview] Message-ID: <bug-66754-4-OxNX2Sd4Ae@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-66754-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66754 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- Hello. Correct command line: gcc builtin-apply2.c -m32 -mregparm=3 BT: Program received signal SIGABRT, Aborted. 0xf7fd8d40 in __kernel_vsyscall () (gdb) bt #0 0xf7fd8d40 in __kernel_vsyscall () #1 0xf7e10eb6 in raise () from /lib/libc.so.6 #2 0xf7e124b1 in abort () from /lib/libc.so.6 #3 0x08048476 in foo (name=0xf7f99de0 <environ> "\f\316\377\377", d=-2.6030469739081194e-220, e=-1.1363900720223263e-307, f=2.8014219794078323e+283, g=-12908) at /home/marxin/Programming/gcc3/gcc/testsuite/gcc.dg/builtin-apply2.c:33 #4 0x08048535 in bar (name=0x8048630 "eeee") at /home/marxin/Programming/gcc3/gcc/testsuite/gcc.dg/builtin-apply2.c:38 #5 0x0804859d in main () at /home/marxin/Programming/gcc3/gcc/testsuite/gcc.dg/builtin-apply2.c:43 As I've been reading GCC documentation: Warning: if you use this switch, and num is nonzero, then you must build all modules with the same value, including any libraries. This includes the system libraries and startup modules. That means, libc hasn't been built with the option and it explain the abort. Am I right? Martin >From gcc-bugs-return-491387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jul 03 15:50:20 2015 Return-Path: <gcc-bugs-return-491387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16264 invoked by alias); 3 Jul 2015 15:50:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16237 invoked by uid 48); 3 Jul 2015 15:50:16 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/66744] [6 Regression] Bootstrap failure due to conflicting access() on i686-w64-mingw32 Date: Fri, 03 Jul 2015 15:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-66744-4-WdFD2vdPgm@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-66744-4@http.gcc.gnu.org/bugzilla/> References: <bug-66744-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-07/txt/msg00277.txt.bz2 Content-length: 299 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66744 --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Created attachment 35905 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35905&action=edit Suggested patch Can you please test that the patch works? Thanks, Martin >From gcc-bugs-return-491388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jul 03 15:52:51 2015 Return-Path: <gcc-bugs-return-491388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20649 invoked by alias); 3 Jul 2015 15:52:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20579 invoked by uid 48); 3 Jul 2015 15:52:44 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/66742] abort on sorting list with custom compiler that is not stateless Date: Fri, 03 Jul 2015 15:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-66742-4-ZjSJsEtxTr@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-66742-4@http.gcc.gnu.org/bugzilla/> References: <bug-66742-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-07/txt/msg00278.txt.bz2 Content-length: 300 https://gcc.gnu.org/bugzilla/show_bug.cgi?idf742 --- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- A candidate patch has been posted to https://gcc.gnu.org/ml/gcc-patches/2015-07/msg00217.html With that fix your testcase segfaults, because you allocate n bytes not n*sizeof(Tp).
next prev parent reply other threads:[~2015-07-03 15:13 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-07-03 13:13 [Bug target/66754] New: " julia.koval at intel dot com 2015-07-03 15:13 ` marxin at gcc dot gnu.org [this message] 2015-07-03 16:07 ` [Bug target/66754] " mikpelinux at gmail dot com 2015-07-03 16:52 ` [Bug target/66754] [4.9/5/6] gcc.dg/builtin-apply2.c aborts with -m32 -mregparm=3 or -miamcu hjl.tools at gmail dot com 2015-07-03 18:38 ` hjl.tools at gmail dot com 2015-07-04 2:17 ` hjl.tools at gmail dot com 2015-07-04 2:37 ` hjl.tools at gmail dot com
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 * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-66754-4-OxNX2Sd4Ae@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).