git: DragonFly_RELEASE_3_2 gcc47: Fix plugin mechanism

John Marino marino at crater.dragonflybsd.org
Sat Feb 2 08:09:42 PST 2013


commit d927861d2bcfeaed299f68b32c95d91f39f236e2
Author: John Marino <draco at 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/d927861d2bcfeaed299f68b32c95d91f39f236e2


-- 
DragonFly BSD source repository


More information about the Commits mailing list