#51097: gcc5 -- xgcc internal compiler error: Illegal instruction: 4 -----------------------+------------------- Reporter: gnwiii@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gcc5 | -----------------------+------------------- Comment (by gnwiii@…): Replying to [comment:3 ryandesign@…]:
Thank you for this helpful information!
I don't know what to do about it though. Making gmp default to using the +core2 variant does not sound like a good solution because that will make gmp slower on Macs with newer processors than the Intel Core 2 (and might cause it to fail on Macs with older processors than the Intel Core 2, such as the original Intel Core processor). I'll Cc the maintainer of the gmp port for help.
Are you sure the reference to gcc bug 6326 is correct? I did not see a mention of gmp in that bug report and it is 14 years old.
Sorry, see comment #5 in [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40734 40734] This sort of issue is going to become more common as authors start to take advantage of newer CPU's to speed up bottlenecks. Could "port install" check the CPU type and warn users if a recompile would improve performance. -- Ticket URL: <https://trac.macports.org/ticket/51097#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X