id summary reporter owner description type status priority milestone component version resolution keywords cc port 41614 gmp: always build from source? (Fix SIGILL on Core2Du) kurtjaeke@… MarcusCalhoun-Lopez "There have been a number of issues with gmp failing with SIGILL when installed from binary archives: #40439, #40621, #41364, #41555. These issues are difficult to debug, since the symptoms are, amongst others, strange crashes during compilation. Background: gmp detects available CPU instructions during ""configure"". This information is used in the build process to conditionally enable assembler code. In the bugs mentioned above, the affected architecture seems to be Core2Duo, the first x86_64 CPUs Apple shipped (IIRC) (the MacPorts build farm is supposedly more modern). This brings up the question: should gmp '''always''' be built from source? Is this a viable approach to solving this issue? Thanks for discussing. Attached is a piece of Fortran code which triggers this issue. Run your favorite Fortran compiler with the '''-v''' flag, and if the compiler backend ('''f951''' for any gcc) crashes with SIGILL, this problem affects you." defect closed Normal ports 2.2.1 fixed cooljeanius yan12125 gmp