https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223179

            Bug ID: 223179
           Summary: lib/libcompiler_rt fails to compile with gcc; some
                    flags are being applied incorrectly
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

Per gcc(1), the following clangs (minus -fno-sanitize=...) are c++ flags, and
are being applied to CFLAGS instead of CXXFLAGS.

===> lib/libclang_rt/profile (obj,all,install)
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not
for C
cc1: error: unrecognized command line option "-fno-sanitize=safe-stack"
cc1: warning: command line option "-fvisibility-inlines-hidden" is valid for
C++/ObjC++ but not for C

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to