DragonFly BSD
DragonFly commits List (threaded) for 2013-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: gcc47: Fix plugin mechanism


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 2 Feb 2013 08:05:01 -0800 (PST)

commit be6440e3915e8a6db41daf31a87459bf29621b1b
Author: John Marino <draco@marino.st>
Date:   Sat Feb 2 16:29:40 2013 +0100

    gcc47: Fix plugin mechanism
    
    There were two problems with gcc 4.7 LTO plugin:
    1) It needed a number of object files from libiberty.
       Unfortunately the previous object files couldn't be used as they need
       to be built with -fPIC and libiberty is only an internal (non-pic) lib.
    2) The plugin header directory was missing completely, as seen with
       gcc -print-file-name=plugin only returning "plugin".

Summary of changes:
 etc/mtree/BSD.usr.dist                          |  14 +++
 gnu/usr.bin/cc47/liblto_plugin/Makefile         |  42 +++++++
 gnu/usr.bin/cc47/liblto_plugin/Makefile.headers | 159 ++++++++++++++++++++++++
 3 files changed, 215 insertions(+)
 create mode 100644 gnu/usr.bin/cc47/liblto_plugin/Makefile.headers

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/be6440e3915e8a6db41daf31a87459bf29621b1b


-- 
DragonFly BSD source repository



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