FS#39578 - [oprofile] build fails

Attached to Project: Community Packages
Opened by Joel Teichroeb (klusark) - Saturday, 22 March 2014, 00:21 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Thursday, 06 November 2014, 21:50 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:


make[2]: Entering directory '/build/oprofile/src/oprofile-0.9.9/libopagent'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I ../libop -I ../libutil -D_FORTIFY_SOURCE=2 -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT libopagent_la-opagent.lo -MD -MP -MF .deps/libopagent_la-opagent.Tpo -c -o libopagent_la-opagent.lo `test -f 'opagent.c' || echo './'`opagent.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I ../libop -I ../libutil -D_FORTIFY_SOURCE=2 -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT libopagent_la-opagent.lo -MD -MP -MF .deps/libopagent_la-opagent.Tpo -c opagent.c -fPIC -DPIC -o .libs/libopagent_la-opagent.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I ../libop -I ../libutil -D_FORTIFY_SOURCE=2 -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT libopagent_la-opagent.lo -MD -MP -MF .deps/libopagent_la-opagent.Tpo -c opagent.c -o libopagent_la-opagent.o >/dev/null 2>&1
mv -f .deps/libopagent_la-opagent.Tpo .deps/libopagent_la-opagent.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -version-info 1:1:0 -Wl,--version-script=../libopagent/opagent_symbols.ver -Wl,-O1,--sort-common,--as-needed,-z,relro -o libopagent.la -rpath /usr/lib/oprofile libopagent_la-opagent.lo -lbfd -liberty -ldl -lz
libtool: link: gcc -shared .libs/libopagent_la-opagent.o -lbfd -liberty -ldl -lz -march=x86-64 -mtune=generic -Wl,--version-script=../libopagent/opagent_symbols.ver -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-soname -Wl,libopagent.so.1 -o .libs/libopagent.so.1.0.1
/usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libbfd.a(archures.o): relocation R_X86_64_32S against `_sch_istable' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libbfd.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:359: recipe for target 'libopagent.la' failed
make[2]: *** [libopagent.la] Error 1
make[2]: Leaving directory '/build/oprofile/src/oprofile-0.9.9/libopagent'
Makefile:393: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/oprofile/src/oprofile-0.9.9'
Makefile:318: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...


Steps to reproduce:
sudo extra-x86_64-build
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Thursday, 06 November 2014, 21:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  oprofile 1.0.0-1
Comment by Doug Newgard (Scimmia) - Saturday, 22 March 2014, 04:57 GMT
Orphan, assigning to last packager.

Loading...