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

Bug#1015709: xmlrpc-c: ftbfs with LTO (link time optimization) enabled



Package: src:xmlrpc-c
Version: 1.33.14-10
Severity: minor
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-lto

This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled.  For a background
for LTO please see

https://wiki.debian.org/ToolChain/LTO

The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures.  The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.

To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:

export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto

or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/dpkglto/xmlrpc-c_1.33.14-10_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
casprintf.c:102:5: warning: ignoring return value of ‘vasprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  102 |     vasprintf(&string, fmt, varargs);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -Isrcdir/lib/util/include -I/<<PKGBUILDDIR>>  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security cmdline_parser.c
g++ -c -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -std=gnu++98 -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas  -Wsynth -g  -Isrcdir/lib/util/include -I/<<PKGBUILDDIR>>  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security cmdline_parser_cpp.cpp
cc1plus: warning: command-line option ‘-Wimplicit’ is valid for C/ObjC but not for C++
gcc -c -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -Isrcdir/lib/util/include -I/<<PKGBUILDDIR>>  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security getoptx.c
gcc -c -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -Isrcdir/lib/util/include -I/<<PKGBUILDDIR>>  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security string_parser.c
gcc -c -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -Isrcdir/lib/util/include -I/<<PKGBUILDDIR>>  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security stripcaseeq.c
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib/util'
make -C libutil/ -f /<<PKGBUILDDIR>>/lib/libutil/Makefile \
    all 
make[4]: Entering directory '/<<PKGBUILDDIR>>/lib/libutil'
cat /dev/null >depend.mk
ln -s /<<PKGBUILDDIR>> srcdir
ln -s /<<PKGBUILDDIR>> blddir
gcc -c -o asprintf.o -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security asprintf.c
asprintf.c: In function ‘xmlrpc_vasprintf’:
asprintf.c:124:5: warning: ignoring return value of ‘vasprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  124 |     vasprintf(&string, fmt, varargs);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -o base64.o -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security base64.c
gcc -c -o error.o -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security error.c
gcc -c -o lock_platform.o -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security lock_platform.c
gcc -c -o lock_pthread.o -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security lock_pthread.c
gcc -c -o lock_none.o -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security lock_none.c
gcc -c -o make_printable.o -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security make_printable.c
gcc -c -o memblock.o -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security memblock.c
gcc -c -o select.o -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security select.c
gcc -c -o sleep.o -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security sleep.c
gcc -c -o string_number.o -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security string_number.c
gcc -c -o time.o -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security time.c
gcc -c -o utf8.o -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security utf8.c
rm -f libxmlrpc_util.a
ar cru libxmlrpc_util.a asprintf.o base64.o error.o lock_platform.o lock_pthread.o lock_none.o make_printable.o memblock.o select.o sleep.o string_number.o time.o utf8.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libxmlrpc_util.a
gcc -c -o asprintf.osh -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3 -fPIC  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC asprintf.c
asprintf.c: In function ‘xmlrpc_vasprintf’:
asprintf.c:124:5: warning: ignoring return value of ‘vasprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  124 |     vasprintf(&string, fmt, varargs);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -o base64.osh -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3 -fPIC  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC base64.c
gcc -c -o error.osh -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3 -fPIC  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC error.c
gcc -c -o lock_platform.osh -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3 -fPIC  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC lock_platform.c
gcc -c -o lock_pthread.osh -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3 -fPIC  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC lock_pthread.c
gcc -c -o lock_none.osh -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3 -fPIC  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC lock_none.c
gcc -c -o make_printable.osh -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3 -fPIC  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC make_printable.c
gcc -c -o memblock.osh -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3 -fPIC  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC memblock.c
gcc -c -o select.osh -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3 -fPIC  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC select.c
gcc -c -o sleep.osh -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3 -fPIC  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC sleep.c
gcc -c -o string_number.osh -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3 -fPIC  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC string_number.c
gcc -c -o time.osh -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3 -fPIC  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC time.c
gcc -c -o utf8.osh -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include -D_FORTIFY_SOURCE=2 -DNDEBUG -fPIE -Wall -W -Wno-uninitialized -Wundef -Wimplicit -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common -g -O3 -fPIC  -I/<<PKGBUILDDIR>> -Isrcdir -I/<<PKGBUILDDIR>>/include -Isrcdir/include -Isrcdir/lib/util/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC utf8.c
gcc -D_FORTIFY_SOURCE=2  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -fPIE -pie -Wl,-z,now -shared -Wl,-soname,libxmlrpc_util.so.3  asprintf.osh base64.osh error.osh lock_platform.osh lock_pthread.osh lock_none.osh make_printable.osh memblock.osh select.osh sleep.osh string_number.osh time.osh utf8.osh -lpthread -o libxmlrpc_util.so.3.33
/usr/bin/ld: /tmp/ccyOhFg3.ltrans0.ltrans.o: warning: relocation against `stderr@@GLIBC_2.2.5' in read-only section `.text'
/usr/bin/ld: /tmp/ccyOhFg3.ltrans0.ltrans.o: relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[4]: *** [/<<PKGBUILDDIR>>/common.mk:165: libxmlrpc_util.so.3.33] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib/libutil'
make[3]: *** [/<<PKGBUILDDIR>>/common.mk:350: libutil/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[2]: *** [/<<PKGBUILDDIR>>/common.mk:350: lib/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 BUILDTOOL_CC=gcc BUILDTOOL_CCLD=\$\(BUILDTOOL_CC\) returned exit code 2
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:33: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: