Opened 11 years ago

Closed 2 years ago

#41752 closed defect (fixed)

binutils-2.24 fails to build on PPC Tiger because of "multiple definitions of symbol _filename_cmp"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.99
Keywords: Cc: cooljeanius (Eric Gallager)
Port: binutils

Description

The build fails quite early:

/bin/sh ./libtool --tag=CC   --mode=link /usr/bin/gcc-4.0 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -pipe -Os -arch ppc  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -o size size.o bucomm.o version.o filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a -lintl -lz 
libtool: link: /usr/bin/gcc-4.0 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -pipe -Os -arch ppc -Wl,-headerpad_max_install_names -arch ppc -o .libs/size size.o bucomm.o version.o filemode.o  -L/opt/local/lib ../bfd/.libs/libbfd.dylib -L/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_binutils/binutils/work/binutils-2.24/bfd/../libiberty/pic -liberty ../libiberty/libiberty.a /opt/local/lib/libintl.dylib -lz
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _filename_cmp
../bfd/.libs/libbfd.dylib(single module) definition of _filename_cmp
../libiberty/libiberty.a(filename_cmp.o) definition of _filename_cmp in section (__TEXT,__text)

Attachments (1)

main.log (165.5 KB) - added by ballapete (Peter "Pete" Dyballa) 11 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

main.log

comment:1 Changed 11 years ago by ballapete (Peter "Pete" Dyballa)

It seems isl-0.12 was missing, which could not be built because of faulty checksums in its Portfile. After correcting them isl built and the binutils then built as well.

comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 Changed 2 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed

sounds like you sorted this out a decade ago. If this still is an issue for you, please open up a new ticket with a new log with current information.

Note: See TracTickets for help on using tickets.