Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2017 04:16:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 223179] lib/libcompiler_rt fails to compile with gcc; some flags are being applied incorrectly
Message-ID:  <bug-223179-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

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: freebsd-bugs@FreeBSD.org
          Reporter: ngie@FreeBSD.org

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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223179-8>