public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "streibel.2003 at gmx dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67950] New: AIX: Illegal instruction in accept() Date: Tue, 13 Oct 2015 10:17:00 -0000 [thread overview] Message-ID: <bug-67950-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67950 Bug ID: 67950 Summary: AIX: Illegal instruction in accept() Product: gcc Version: 4.9.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: streibel.2003 at gmx dot net Target Milestone: --- Created attachment 36494 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36494&action=edit Output of the GCC build process (make) I compiled GCC, Version 4.9.3 on an AIX 7.1 machine. The output of the build process (make) is in the appendix. A C test program which calls accept() works fine when compiled with gcc. However it crashes within the accept() function when compiled with g++. The crash happens as soon as a client connects to the server: [root@dev71 tmp]# uname -a AIX dev71 1 7 00F6C0A94C00 [root@dev71 tmp]# /opt/gcc-4.9.3-hans/bin/gcc -o tcpserver tcpserver.c [root@dev71 tmp]# /opt/gcc-4.9.3-hans/bin/g++ -o tcpserver tcpserver.c ld: 0711-768 WARNING: Object /tmp//ccy8CL9X.o, section 1, function .accept: The branch at address 0x8a8 is not followed by a recognized no-op or TOC-reload instruction. The unrecognized instruction is 0x7C691B78. ld: 0711-768 WARNING: Object /tmp//ccy8CL9X.o, section 1, function .accept: The branch at address 0x8a8 is not followed by a recognized no-op or TOC-reload instruction. The unrecognized instruction is 0x7C691B78. [root@dev71 tmp]# ./tcpserver 1234 --> before accept() <-- Illegal instruction (core dumped) [root@dev71 tmp]# A self compiled GCC, Version 4.9.1 Shows the same behaviour. A GCC, Version 4.8.3 which we installed via an RPM package works fine.
next reply other threads:[~2015-10-13 10:17 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-10-13 10:17 streibel.2003 at gmx dot net [this message] 2015-10-13 10:55 ` [Bug c++/67950] " redi at gcc dot gnu.org 2015-10-13 11:36 ` streibel.2003 at gmx dot net 2015-10-13 11:37 ` streibel.2003 at gmx dot net 2015-10-13 11:38 ` streibel.2003 at gmx dot net 2015-10-13 11:46 ` streibel.2003 at gmx dot net 2021-07-18 21:21 ` pinskia at gcc dot gnu.org
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-67950-4@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).