public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/67950] New: AIX: Illegal instruction in accept()
@ 2015-10-13 10:17 streibel.2003 at gmx dot net
  2015-10-13 10:55 ` [Bug c++/67950] " redi at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: streibel.2003 at gmx dot net @ 2015-10-13 10:17 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-07-18 21:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-13 10:17 [Bug c++/67950] New: AIX: Illegal instruction in accept() streibel.2003 at gmx dot net
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

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).