Flang :: Driver/fast_math.f90 FAILs on Solaris because crtfastmath.o is missing from the link line.
This patch adds it as appropriate.
Tested on amd64-pc-solaris2.11.
Paths
| Differential D141596
[Driver] Add crtfastmath.o on Solaris if appropriate ClosedPublic Authored by ro on Jan 12 2023, 3:59 AM.
Details
Summary Flang :: Driver/fast_math.f90 FAILs on Solaris because crtfastmath.o is missing from the link line. This patch adds it as appropriate. Tested on amd64-pc-solaris2.11.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 12 2023, 11:03 AM Closed by commit rG7c4a70f8f6f3: [Driver] Add crtfastmath.o on Solaris if appropriate (authored by ro). · Explain WhyJan 13 2023, 1:09 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 488897 clang/lib/Driver/ToolChains/Solaris.cpp
clang/test/Driver/Inputs/solaris_sparc_tree/usr/gcc/4.8/lib/gcc/sparc-sun-solaris2.11/4.8.2/crtfastmath.o
clang/test/Driver/Inputs/solaris_sparc_tree/usr/gcc/4.8/lib/gcc/sparc-sun-solaris2.11/4.8.2/sparcv9/crtfastmath.o
clang/test/Driver/Inputs/solaris_x86_tree/usr/gcc/4.9/lib/gcc/i386-pc-solaris2.11/4.9.4/amd64/crtfastmath.o
clang/test/Driver/Inputs/solaris_x86_tree/usr/gcc/4.9/lib/gcc/i386-pc-solaris2.11/4.9.4/crtfastmath.o
clang/test/Driver/solaris-ld.c
|