Opened 14 months ago

Last modified 14 months ago

#68337 assigned defect

scotch fails to build with gcc

Reported by: larsgrobe (Lars O Grobe) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: catap (Kirill A. Korinsky), cjones051073 (Chris Jones)
Port: scotch

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Dear all,

I just updated to Sonoma and re-install my ports. Scotch is failing to build with the +gcc12 variant:

clang: error: invalid library name in argument '-stdlib=macports-libstdc++'

It seems that the variant is ignored when setting the CXX variable (I would expect g++-mp-12 rather than clang to be executed):

:info:configure -- The C compiler identification is GNU 12.3.0
:info:configure -- The CXX compiler identification is Clang 15.0.7

I wonder if this is related to #62678

Best, Lars.

Change History (4)

comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: catap added
Description: modified (diff)
Owner: set to MarcusCalhoun-Lopez
Status: newassigned

comment:2 Changed 14 months ago by cjones051073 (Chris Jones)

The gcc12 variant does not actually change the compiler used for c or c++, so it is expected that is clang. The variant is only used to control what is used for fortran sources.

comment:3 Changed 14 months ago by cjones051073 (Chris Jones)

Please attach the complete log file from a clean rebuild attempt.

comment:4 Changed 14 months ago by cjones051073 (Chris Jones)

Cc: cjones051073 added
Note: See TracTickets for help on using tickets.