bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #50751] non-fragile abi compiler flag was incorrectly removed from


From: Galen Rhodes
Subject: [bug #50751] non-fragile abi compiler flag was incorrectly removed from common.make
Date: Fri, 7 Apr 2017 11:45:57 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.1 Safari/603.1.30

URL:
  <http://savannah.gnu.org/bugs/?50751>

                 Summary: non-fragile abi compiler flag was incorrectly
removed from common.make
                 Project: GNUstep
            Submitted by: galenrhodes
            Submitted on: Fri 07 Apr 2017 03:45:56 PM UTC
                Category: Makefiles
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

On May 19, 2016 a commit was made with the comment "remove unused flag" that
remove the "-fobjc-nonfragile-abi" from the INTERNAL_OBJCFLAGS variable if the
user requested the use of non fragile abi option.  My guess is that the
intention was to remove it from the INTERNAL_LDFLAGS variable (the next line
in the makefile) which would have made more sense given the comment.

But this change pretty much broke the GUI and BACKEND packages for anyone
trying to build the GNUstep libraries for use with clang and ARC.  Attempting
to use the -fobjc-arc flag while compiling a GUI application results in an
executable that won't load because of a mismatched ABI configuration.

The only way to fix this is to add the "-fobjc-nonfragile-abi" flag back to
the INTERNAL_OBJCFLAGS variable in common.make and then rebuild all of the
GNUstep libraries.

See attached screen shots for the details of the commit that broke this.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 07 Apr 2017 03:45:56 PM UTC  Name: GitboxScreenSnapz001.png  Size:
261kB   By: galenrhodes

<http://savannah.gnu.org/bugs/download.php?file_id=40318>
-------------------------------------------------------
Date: Fri 07 Apr 2017 03:45:56 PM UTC  Name: KaleidoscopeScreenSnapz001.png 
Size: 636kB   By: galenrhodes

<http://savannah.gnu.org/bugs/download.php?file_id=40319>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50751>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]