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

Bug#1079562: libnop FTBFS on mips64el/alpha



Source: libnop
Version: 0.0~git20200728.45dfe0f-4
Severity: serious
Tags: ftbfs patch
Forwarded: https://github.com/google/libnop/issues/32

https://buildd.debian.org/status/fetch.php?pkg=libnop&arch=mips64el&ver=0.0~git20200728.45dfe0f-4%2Bb1&stamp=1723833797&raw=0
https://buildd.debian.org/status/fetch.php?pkg=libnop&arch=alpha&ver=0.0~git20200728.45dfe0f-4&stamp=1723836309&raw=0

...
/usr/bin/ld: out/host-obj/test/test/serializer_tests.o: .got subsegment exceeds 64K (size 76864)
/usr/bin/ld: failed to set dynamic section sizes: Success
collect2: error: ld returned 1 exit status
...


A fix is attached.
Description: Build tests with default optimization
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/984190
Forwarded: https://github.com/google/libnop/issues/32

--- libnop-0.0~git20200728.45dfe0f.orig/Makefile
+++ libnop-0.0~git20200728.45dfe0f/Makefile
@@ -44,7 +44,7 @@ else
 
 # Build tests if gtest is found.
 M_NAME := test
-M_CFLAGS := -I$(GTEST_INCLUDE) -O0 -g
+M_CFLAGS := -I$(GTEST_INCLUDE) -Wno-error -g
 M_LDFLAGS := -L$(GTEST_LIB) -lgtest -lgmock
 M_OBJS := \
 	test/nop_tests.o \

Reply to: