Opened 5 months ago
#74145 new defect
libarchive 3.8.8 does not build with Apple gcc, failing with ICE on {standard input}:918:non-relocatable subtraction expression, "L___stack_chk_guard$non_lazy_ptr" minus "L00000000012$pb"
| Reported by: | barracuda156 | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.12.5 |
| Keywords: | Cc: | ||
| Port: | libarchive |
Description
:info:build libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -isystem/opt/local/include/LegacySupport -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_mtree.lo -MD -MP -MF libarchive/.deps/archive_write_set_format_mtree.Tpo -c libarchive/archive_write_set_format_mtree.c -fno-common -DPIC -o libarchive/.libs/archive_write_set_format_mtree.o
:info:build libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -isystem/opt/local/include/LegacySupport -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_mtree.lo -MD -MP -MF libarchive/.deps/archive_write_set_format_mtree.Tpo -c libarchive/archive_write_set_format_mtree.c -o libarchive/archive_write_set_format_mtree.o >/dev/null 2>&1
:info:build depbase=`echo libarchive/archive_write_set_format_pax.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
:info:build /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -isystem/opt/local/include/LegacySupport -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 &&\
:info:build mv -f $depbase.Tpo $depbase.Plo
:info:build libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -isystem/opt/local/include/LegacySupport -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_iso9660.lo -MD -MP -MF libarchive/.deps/archive_write_set_format_iso9660.Tpo -c libarchive/archive_write_set_format_iso9660.c -o libarchive/archive_write_set_format_iso9660.o >/dev/null 2>&1
:info:build libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -isystem/opt/local/include/LegacySupport -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
:info:build libarchive/archive_write_set_format_pax.c: In function 'archive_write_pax_header':
:info:build libarchive/archive_write_set_format_pax.c:580: internal compiler error: Bus error
:info:build Please submit a full bug report,
:info:build with preprocessed source if appropriate.
:info:build See <URL:http://developer.apple.com/bugreporter> for instructions.
:info:build {standard input}:918:non-relocatable subtraction expression, "L___stack_chk_guard$non_lazy_ptr" minus "L00000000012$pb"
:info:build {standard input}:918:symbol: "L___stack_chk_guard$non_lazy_ptr" can't be undefined in a subtraction expression
:info:build {standard input}:916:non-relocatable subtraction expression, "L___stack_chk_guard$non_lazy_ptr" minus "L00000000012$pb"
:info:build {standard input}:916:symbol: "L___stack_chk_guard$non_lazy_ptr" can't be undefined in a subtraction expression
:info:build {standard input}:877:non-relocatable subtraction expression, "L___stack_chk_guard$non_lazy_ptr" minus "L00000000011$pb"
:info:build {standard input}:877:symbol: "L___stack_chk_guard$non_lazy_ptr" can't be undefined in a subtraction expression
:info:build {standard input}:876:non-relocatable subtraction expression, "L___stack_chk_guard$non_lazy_ptr" minus "L00000000011$pb"
:info:build {standard input}:876:symbol: "L___stack_chk_guard$non_lazy_ptr" can't be undefined in a subtraction expression
:info:build {standard input}:666:non-relocatable subtraction expression, "L___stack_chk_guard$non_lazy_ptr" minus "L00000000009$pb"
:info:build {standard input}:666:symbol: "L___stack_chk_guard$non_lazy_ptr" can't be undefined in a subtraction expression
:info:build {standard input}:664:non-relocatable subtraction expression, "L___stack_chk_guard$non_lazy_ptr" minus "L00000000009$pb"
:info:build {standard input}:664:symbol: "L___stack_chk_guard$non_lazy_ptr" can't be undefined in a subtraction expression
:info:build {standard input}:146:non-relocatable subtraction expression, "_archive_write_pax_header" minus "L00000000002$pb"
:info:build {standard input}:146:symbol: "_archive_write_pax_header" can't be undefined in a subtraction expression
:info:build {standard input}:144:non-relocatable subtraction expression, "_archive_write_pax_header" minus "L00000000002$pb"
:info:build {standard input}:144:symbol: "_archive_write_pax_header" can't be undefined in a subtraction expression
:info:build {standard input}:unknown:Undefined local symbol L___stack_chk_guard$non_lazy_ptr
:info:build make[1]: *** [libarchive/archive_write_set_format_pax.lo] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/libarchive-723a6ba6/work/libarchive-3.8.8'
:info:build make: *** [all] Error 2
Note: See
TracTickets for help on using
tickets.
