bugGNUstep - Bugs: bug #34752, compiling with clang gives...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #34752: compiling with clang gives warnings about unsupported options

Submitted by:  julian <julian_>
Submitted on:  Sat 05 Nov 2011 09:11:36 PM UTC  
 
Category: MakefilesSeverity: 3 - Normal
Item Group: BugStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Sun 10 Feb 2013 10:06:21 AM UTC, comment #5:

I have a fix for this bug: see <https://github.com/gnustep/gnustep-make/pull/1>

Jean-Charles BERTIN <jcbertin>
Tue 08 Nov 2011 09:05:34 AM UTC, comment #4:

Changed the category to Makefiles to attract Nicola's attention.

Fred Kiefer <FredKiefer>
Project Member
Sun 06 Nov 2011 11:32:47 AM UTC, comment #3:

adding -Qunused-arguments to the cflags solves the problem for me for the time being.

julian <julian_>
Sun 06 Nov 2011 11:19:38 AM UTC, comment #2:

where do you have that from? i think they never said they would support all gcc options

. The Clang driver and language features are intentionally designed to be as compatible with the GNU GCC compiler as reasonably possible ...

as far as i know support for fexec-charset isn't planned by them.

the shared-libgcc warning isn't as annoying because it happens once at link time while the exec-charset happens for every compiled file.

julian <julian_>
Sun 06 Nov 2011 10:10:17 AM UTC, comment #1:

This is a clang bug (clang is officially supposed to handle all gcc options) ... so should presumably be reported to the clang developers.

Richard Frith-Macdonald <CaS>
Project Member
Sat 05 Nov 2011 09:11:36 PM UTC, original submission:

compiling gnustep or a gnustep-using project with clang gives the following warnings:

for every compiled file there is a warning that "-fexec-charset=UTF-8" is not supported

for every link there is a warning that "-shared-libgcc" is not supported

the warning about fexec-charset is quite new.

these options should probably be disabled on clang, since real warnings drown in these messages.

i'd propose a patch but i don't know how to determine if clang is used from within base.make.in (for -fexec-charset=UTF-8) and common.make (for -shared-libgcc)

julian <julian_>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jcbertin (Posted a comment)
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by julian_ (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 08 Nov 2011 09:05:34 AM UTCFredKieferCategoryBase/Foundation=>Makefiles

    Back to the top


    Powered by Savane 3.1-cleanup