Package: ladspa-sdk
Version: 1.13-3
Severity: normal

Dear Maintainer,

Build fails on hppa here:

cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o load.o load.c
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o default.o 
default.c
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o applyplugin.o 
applyplugin.c
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o listplugins.o 
listplugins.c
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o search.o search.c
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat 
-Werror=format-security -fPIE -pie                                     \
        -o ../bin/analyseplugin                                 \
        analyseplugin.o load.o default.o                        \
        -ldl -lm                                                \
        -Wl,--as-needed
/usr/bin/ld: analyseplugin.o: relocation R_PARISC_DPREL21L can not be used when 
making a shared object; recompile with -fPIC
/usr/bin/ld: load.o: relocation R_PARISC_DPREL21L can not be used when making a 
shared object; recompile with -fPIC

As noted in the messages above, objects linked into a shared (pie) executable
need to be compiled with -fPIC or -fPIE.  Probably in this case, they should be
compiled with -fPIE for consistency.

This is a build issue.  Fixing the above will fix ld error.

Regards,
Dave Anglin


-- System Information:
Debian Release: 10.0
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 4.14.132+ (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ladspa-sdk depends on:
ii  libc6       2.28-10
ii  libgcc4     1:8.3.0-7
ii  libstdc++6  8.3.0-7

ladspa-sdk recommends no packages.

ladspa-sdk suggests no packages.

-- no debconf information

Reply via email to