[Buildroot] [PATCH] package/gdb: disable shared build for host-gdb
romain.naour at openwide.fr
Thu Mar 12 22:13:53 UTC 2015
Shared libraries build have been enabled with the
ARV32 removal. But it's still useful for arc gdb.
Signed-off-by: Romain Naour <romain.naour at openwide.fr>
"Should fixe" the issue.
I'm not able to reproduce the issue.
package/gdb/gdb.mk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 6a192fb..2a6b3d4 100644
@@ -125,9 +125,12 @@ endif
# * --target, because we're doing a cross build rather than a real
# host build.
# * --enable-static because gdb really wants to use libbfd.a
+# * --disable-shared, otherwise the gdb-2014.12 version specific to ARC
+# doesn't build because it wants to link a shared libbfd.so against
+# non-PIC liberty.a.
HOST_GDB_CONF_OPTS = \
- --enable-static \
+ --enable-static --disable-shared \
More information about the buildroot