https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105599
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |target
Keywords| |diagnostic
Summary|g++ binary: undefined |g++ by itself is not
|symbols _main referenced |producing "fatal error: no
|from __start in crt1.0 |input files" for darwin
| |target
Target| |x86_64-darwin*
Severity|normal |trivial
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
On Linux this produces:
apinski@xeond:~/src/p4/octeontxkpu$ ~/upstream-gcc/bin/g++
g++: fatal error: no input files
compilation terminated.
So it is a darwin specific issue but it is a minor one as it is just a
diagnostic issue with invalid invocation anyways.