Opened 6 weeks ago

Last modified 6 weeks ago

#74268 new defect

libarchive @3.8.9 does not build on PPC Mac OS X 10.5.8, Leopard, because of 'internal compiler error: Bus error'

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.12.5
Keywords: ppc leopard Cc: toby@…
Port: libarchive

Description

depbase=`echo libarchive/archive_write_set_format_pax.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
	/bin/sh ./libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.   -I/opt/local/include  -I/opt/local/include/libxml2  -pipe -Os -arch ppc -Wall -Wformat -Wformat-security -fvisibility=hidden -D__LIBARCHIVE_ENABLE_VISIBILITY -MT libarchive/archive_write_set_format_pax.lo -MD -MP -MF $depbase.Tpo -c -o libarchive/archive_write_set_format_pax.lo libarchive/archive_write_set_format_pax.c &&\
	mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I/opt/local/include -I/opt/local/include/libxml2 -pipe -Os -arch ppc -Wall -Wformat -Wformat-security -fvisibility=hidden -D__LIBARCHIVE_ENABLE_VISIBILITY -MT libarchive/archive_write_set_format_pax.lo -MD -MP -MF libarchive/.deps/archive_write_set_format_pax.Tpo -c libarchive/archive_write_set_format_pax.c  -fno-common -DPIC -o libarchive/.libs/archive_write_set_format_pax.o
libarchive/archive_write_set_format_pax.c: In function 'archive_write_pax_header':
libarchive/archive_write_set_format_pax.c:682: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
{standard input}:140:non-relocatable subtraction expression, "_archive_write_pax_header" minus "L00000000002$pb"
{standard input}:140:symbol: "_archive_write_pax_header" can't be undefined in a subtraction expression
{standard input}:138:non-relocatable subtraction expression, "_archive_write_pax_header" minus "L00000000002$pb"
{standard input}:138:symbol: "_archive_write_pax_header" can't be undefined in a subtraction expression
make[1]: *** [libarchive/archive_write_set_format_pax.lo] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/libarchive-2f5d7813/work/libarchive-3.8.9'

Change History (3)

comment:1 Changed 6 weeks ago by ballapete (Peter "Pete" Dyballa)

main.log was lost because of port clean …

comment:2 Changed 6 weeks ago by ballapete (Peter "Pete" Dyballa)

GCC 15 does the job of building.

comment:3 Changed 6 weeks ago by tobypeterson

Probably need to use compiler.blacklist - let me know what works for you, since I have no reasonable way to test this myself.

Note: See TracTickets for help on using tickets.