summary refs log tree commit diff
path: root/gnu/packages/debug.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-12-20 22:21:16 +0100
committerLudovic Courtès <ludo@gnu.org>2017-12-20 22:21:16 +0100
commit066ccc2c69390f630237eadac1f69c03df22b87a (patch)
treed66aea5f7592018fad4b9874999b347b32810d66 /gnu/packages/debug.scm
parent614fffe4270cef308573a6d9cef650f3972875af (diff)
downloadguix-066ccc2c69390f630237eadac1f69c03df22b87a.tar.gz
gnu: gcc: Fix cross-compilation.
Previously "guix build gcc@5 --target=TRIPLET" would fail like this:

   checking for exported symbols... /tmp/guix-build-gcc-5.5.0.drv-0/gcc-5.5.0/libcc1/configure: line 14531: -T: command not found
   yes
   checking for -rdynamic... /tmp/guix-build-gcc-5.5.0.drv-0/gcc-5.5.0/libcc1/configure: line 14541: -T: command not found
   no
   checking for library containing dlopen... -ldl
   checking for -fPIC -shared... yes
   configure: error:
      Building GCC with plugin support requires a host that supports
      -fPIC, -shared, -ldl and -rdynamic.

* gnu/packages/gcc.scm (gcc-4.7)[maybe-target-tools]: Add "OBJDUMP".
(gcc-5)[source](snippet, modules): New fields.
Diffstat (limited to 'gnu/packages/debug.scm')
0 files changed, 0 insertions, 0 deletions