#65337 closed defect (fixed)
openmpi @4.1.4: subports openmpi-gcc7 and openmpi-gcc9: builds failing for 10.7 and earlier
Reported by: | mascguy (Christopher Nielsen) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | Cc: | cjones051073 (Chris Jones), kencu (Ken) | |
Port: | openmpi-gcc7 openmpi-gcc9 |
Description
While previous releases of openmpi-gcc7
and openmpi-gcc9
build successfully for 10.7 and earlier, the latest version fails on our buildbots:
checking whether the C compiler works... no configure: error: C compiler cannot create executables
- https://ports.macports.org/port/openmpi-gcc7/details/
- https://ports.macports.org/port/openmpi-gcc9/details/
Currently travelling, without access to my suite of macOS VMs, so I can't try to reproduce this locally. But I'm hoping it's something related to stdlib
, such as this prior issue with gdal
:
59989 - gdal +gcc: configure: error: C compiler cannot create executables
Attachments (1)
Change History (11)
comment:1 Changed 2 years ago by mascguy (Christopher Nielsen)
comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)
Cc: | cjones051073 kencu added |
---|
Chris/Ken, any thoughts, per issue:65055?
comment:3 follow-up: 5 Changed 2 years ago by cjones051073 (Chris Jones)
please attach here, if you can, the conftest.c referred to above
comment:4 Changed 2 years ago by Chris Jones <jonesc@…>
Changed 2 years ago by mascguy (Christopher Nielsen)
Attachment: | openmpi-gcc7-10.7-config.log added |
---|
comment:5 Changed 2 years ago by mascguy (Christopher Nielsen)
Replying to cjones051073:
please attach here, if you can, the conftest.c referred to above
Full configure log attached. But it looks like that test program is:
configure: failed program was: 98 | /* confdefs.h */ 99 | #define PACKAGE_NAME "Open MPI" 100 | #define PACKAGE_TARNAME "openmpi" 101 | #define PACKAGE_VERSION "4.1.4" 102 | #define PACKAGE_STRING "Open MPI 4.1.4" 103 | #define PACKAGE_BUGREPORT "http://www.open-mpi.org/community/help/" 104 | #define PACKAGE_URL "" 105 | #define OPAL_ARCH "x86_64-apple-darwin11.4.2" 106 | /* end confdefs.h. */ 107 | 108 | int 109 | main () 110 | { 111 | 112 | ; 113 | return 0; 114 | }
comment:6 Changed 2 years ago by mascguy (Christopher Nielsen)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
After building libgcc9
locally with the latest commit from @cjones, the problem is resolved. Also queued rebuilds for 10.7 and earlier on the buildbots.
Thanks for the quick fix Chris!
comment:7 follow-up: 8 Changed 2 years ago by cjones051073 (Chris Jones)
No need to manually queue rebuilds, the revbump would have handled it.
comment:8 Changed 2 years ago by mascguy (Christopher Nielsen)
Replying to cjones051073:
No need to manually queue rebuilds, the revbump would have handled it.
Rebuilds were queued for openmpi-gcc7
and openmpi-gcc9
, not libgcc9
. ;-)
comment:9 Changed 2 years ago by cjones051073 (Chris Jones)
My commit above ups the revision for libgcc9, so a rebuild would have been automatic.
comment:10 Changed 2 years ago by cjones051073 (Chris Jones)
Sorry, I see what you are saying now. My mistake….
Reviewing
config.log
, it looks like the following is occurring:This appears to be the same problem covered by issue:65055, so need to do more digging.