ppc64 patch needs an update

Bug #1354457 reported by Matthias Klose
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oprofile (Ubuntu)
Fix Released
High
Unassigned

Bug Description

ppc64 patch needs an update, doesn't work anymore with binutils from the trunk. would be nice to get this into the 1.0 release as well.

/bin/bash ../libtool --tag=CXX --mode=link arm-linux-gnueabihf-g++ -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -o opreport opreport.o opreport_options.o common_option.o ../libpp/libpp.a ../libopt++/libopt++.a ../libregex/libop_regex.a ../libutil++/libutil++.a ../libop/libop.a ../libutil/libutil.a ../libdb/libodb.a -lpopt /usr/lib/libbfd.a -liberty -ldl -lz
libtool: link: arm-linux-gnueabihf-g++ -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -o opreport opreport.o opreport_options.o common_option.o ../libpp/libpp.a ../libopt++/libopt++.a ../libregex/libop_regex.a ../libutil++/libutil++.a ../libop/libop.a ../libutil/libutil.a ../libdb/libodb.a /usr/lib/arm-linux-gnueabihf/libpopt.so /usr/lib/libbfd.a -liberty -ldl -lz
../libutil++/libutil++.a(bfd_support.o): In function `get_synth_symbols':
/build/buildd/oprofile-0.9.9/libutil++/bfd_support.cpp:639: undefined reference to `bfd_elf64_powerpc_vec'
/build/buildd/oprofile-0.9.9/libutil++/bfd_support.cpp:639: undefined reference to `bfd_elf64_powerpc_vec'
collect2: error: ld returned 1 exit status
Makefile:508: recipe for target 'opreport' failed
make[3]: *** [opreport] Error 1

Tags: ftbfs
Matthias Klose (doko)
tags: added: ftbfs
Changed in oprofile (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Ulrich Weigand (uweigand) wrote :

So based on this patch:
https://sourceware.org/ml/binutils/2014-04/msg00283.html

I think bfd_elf64_powerpc_vec has been renamed to powerpc_elf64_vec.

Alan, can you verify?

Revision history for this message
Matthias Klose (doko) wrote :

I see this is fixed on the oprofile trunk

Revision history for this message
Matthias Klose (doko) wrote :

just wondering why this did work before with binutils 20140727.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package oprofile - 1.0.0~20140808-0ubuntu1

---------------
oprofile (1.0.0~20140808-0ubuntu1) utopic; urgency=medium

  * Snapshot, taken from the trunk on 20140808.
  * Drop patches applied upstream.
  * Fix build failure. LP: #1354457.
 -- Matthias Klose <email address hidden> Fri, 08 Aug 2014 16:16:39 +0200

Changed in oprofile (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.