Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#13639 closed defect (fixed)

clamav upgrade 0.91.2 => 0.92 fails with internal compiler error

Reported by: jyrkiwahlstedt Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

The environment is: OS X (Intel) 10.4.11, Xcode 2.5 Upgrade fails with the following verbose:

--->  Checksumming clamav-0.92.tar.gz
DEBUG: Correct (md5) checksum for clamav-0.92.tar.gz
DEBUG: Correct (sha1) checksum for clamav-0.92.tar.gz
DEBUG: Correct (rmd160) checksum for clamav-0.92.tar.gz
--->  Extracting clamav
DEBUG: Executing org.macports.extract (clamav)
--->  Extracting clamav-0.92.tar.gz
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/clamav/clamav-0.92.tar.gz
DEBUG: Environment: 
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_jwa_work_macports-trunk_dports_sysutils_clamav/work" && gzip -dc /opt/local/var/macports/distfiles/clamav/clamav-0.92.tar.gz | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (clamav)
--->  Configuring clamav
DEBUG: Executing org.macports.configure (clamav)
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Environment: CFLAGS='-fdefer-pop -fdelayed-branch -fguess-branch-probability  -fcprop-registers -floop-optimize -fif-conversion  -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts  -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename  -ftree-fre -ftree-ch -fmerge-constants  -fthread-jumps -fcrossjumping -foptimize-sibling-calls  -fcse-follow-jumps  -fcse-skip-blocks -fgcse  -fgcse-lm  -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop  -frerun-loop-opt -fcaller-saves -fforce-mem -fpeephole2  -fschedule-insns  -fschedule-insns2 -fsched-spec -fregmove  -fdelete-null-pointer-checks -freorder-functions  -funit-at-a-time -falign-functions  -falign-jumps -falign-loops  -falign-labels -ftree-pre' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install' OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_jwa_work_macports-trunk_dports_sysutils_clamav/work/clamav-0.92" && ./configure --prefix=/opt/local --disable-clamav --mandir=/opt/local/share/man'
checking build system type... i386-apple-darwin8.11.1
checking host system type... i386-apple-darwin8.11.1
checking target system type... i386-apple-darwin8.11.1
creating target.h - canonical system defines
checking for a BSD-compatible install... /usr/bin/install
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.0 accepts -g... yes
checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc-4.0... gcc3
checking for a BSD-compatible install... /usr/bin/install
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by /usr/bin/gcc-4.0... /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld) is GNU ld... no
checking for /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... /usr/bin/cpp-4.0
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-4.0 accepts -g... yes
checking dependency style of /usr/bin/g++-4.0... gcc3
checking how to run the C++ preprocessor... /usr/bin/g++-4.0 -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -p output from /usr/bin/gcc-4.0 object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if /usr/bin/gcc-4.0 supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common
checking if /usr/bin/gcc-4.0 PIC flag -fno-common works... yes
checking if /usr/bin/gcc-4.0 static flag -static works... no
checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes
checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8.11.1 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by /usr/bin/g++-4.0... /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld) is GNU ld... no
checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld) supports shared libraries... yes
checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common
checking if /usr/bin/g++-4.0 PIC flag -fno-common works... yes
checking if /usr/bin/g++-4.0 static flag -static works... no
checking if /usr/bin/g++-4.0 supports -c -o file.o... yes
checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8.11.1 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
checking for a supported version of gcc... ok (4.0.1)
checking for gcc bug PR27603... ok, bug not present
checking for gcc bug PR28045... ok, bug not present
checking for gcc bug PR26763-2... ok, bug not present
checking for valid code generation of CLI_ISCONTAINED... ok, bug not present
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking for dlfcn.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/inttypes.h usability... no
checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no
checking for memory.h... (cached) yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking for stdlib.h... (cached) yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for off_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for bind in -lsocket... no
checking for gethostent in -lnsl... no
checking for libiconv_open in -liconv... yes
checking for poll... yes
checking for setsid... yes
checking for memcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strerror_r... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for inet_ntop... yes
checking for setgroups... yes
checking for initgroups... yes
checking for ctime_r... yes
checking for mkstemp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether snprintf correctly terminates long strings... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for zlib installation... /usr
checking for inflateEnd in -lz... yes
checking for bzReadOpen in -lbz2... no
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for __dn_expand in -lresolv... no
checking for dn_expand in -lresolv... yes
checking for resolv.h... yes
checking whether setpgrp takes no argument... no
checking for __gmpz_init in -lgmp... yes
checking for recvmsg... yes
checking for sendmsg... yes
checking for msg_accrights field in struct msghdr... no
checking for msg_control field in struct msghdr... yes
checking for gethostbyname_r... support disabled
checking for readdir_r... support disabled
checking for ctime_r... yes, and it takes 2 arguments
checking for socklen_t... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for structure packing via __attribute__((packed))... yes
checking for type aligning via __attribute__((aligned))... yes
checking for fd_set... yes, found in sys/types.h
checking default FD_SETSIZE value... 1024
checking if signed right shift is sign extended... yes
checking whether FPU byte ordering is bigendian... no
configure: creating ./config.status
config.status: creating libclamunrar/Makefile
config.status: creating libclamunrar_iface/Makefile
config.status: creating libclamav/Makefile
config.status: creating clamscan/Makefile
config.status: creating database/Makefile
config.status: creating docs/Makefile
config.status: creating clamd/Makefile
config.status: creating clamdscan/Makefile
config.status: creating clamav-milter/Makefile
config.status: creating freshclam/Makefile
config.status: creating sigtool/Makefile
config.status: creating clamconf/Makefile
config.status: creating etc/Makefile
config.status: creating Makefile
config.status: creating clamav-config
config.status: creating libclamav.pc
config.status: creating docs/man/clamav-milter.8
config.status: creating docs/man/clamconf.1
config.status: creating docs/man/clamd.8
config.status: creating docs/man/clamd.conf.5
config.status: creating docs/man/clamdscan.1
config.status: creating docs/man/clamscan.1
config.status: creating docs/man/freshclam.1
config.status: creating docs/man/freshclam.conf.5
config.status: creating docs/man/sigtool.1
config.status: creating clamav-config.h
config.status: executing depfiles commands
--->  Building clamav with target all
DEBUG: Executing org.macports.build (clamav)
DEBUG: Environment: 
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_jwa_work_macports-trunk_dports_sysutils_clamav/work/clamav-0.92" && make all'
make  all-recursive
Making all in libclamunrar
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I..  -I/opt/local/include  -fdefer-pop -fdelayed-branch -fguess-branch-probability  -fcprop-registers -floop-optimize -fif-conversion  -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts  -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename  -ftree-fre -ftree-ch -fmerge-constants  -fthread-jumps -fcrossjumping -foptimize-sibling-calls  -fcse-follow-jumps  -fcse-skip-blocks -fgcse  -fgcse-lm  -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop  -frerun-loop-opt -fcaller-saves -fforce-mem -fpeephole2  -fschedule-insns  -fschedule-insns2 -fsched-spec -fregmove  -fdelete-null-pointer-checks -freorder-functions  -funit-at-a-time -falign-functions  -falign-jumps -falign-loops  -falign-labels -ftree-pre -MT unrar15.lo -MD -MP -MF .deps/unrar15.Tpo -c -o unrar15.lo unrar15.c
mkdir .libs
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/local/include -fdefer-pop -fdelayed-branch -fguess-branch-probability -fcprop-registers -floop-optimize -fif-conversion -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename -ftree-fre -ftree-ch -fmerge-constants -fthread-jumps -fcrossjumping -foptimize-sibling-calls -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop -frerun-loop-opt -fcaller-saves -fforce-mem -fpeephole2 -fschedule-insns -fschedule-insns2 -fsched-spec -fregmove -fdelete-null-pointer-checks -freorder-functions -funit-at-a-time -falign-functions -falign-jumps -falign-loops -falign-labels -ftree-pre -MT unrar15.lo -MD -MP -MF .deps/unrar15.Tpo -c unrar15.c  -fno-common -DPIC -o .libs/unrar15.o
unrar15.c:1: warning: this target machine does not have delayed branches
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/local/include -fdefer-pop -fdelayed-branch -fguess-branch-probability -fcprop-registers -floop-optimize -fif-conversion -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename -ftree-fre -ftree-ch -fmerge-constants -fthread-jumps -fcrossjumping -foptimize-sibling-calls -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop -frerun-loop-opt -fcaller-saves -fforce-mem -fpeephole2 -fschedule-insns -fschedule-insns2 -fsched-spec -fregmove -fdelete-null-pointer-checks -freorder-functions -funit-at-a-time -falign-functions -falign-jumps -falign-loops -falign-labels -ftree-pre -MT unrar15.lo -MD -MP -MF .deps/unrar15.Tpo -c unrar15.c -o unrar15.o >/dev/null 2>&1
mv -f .deps/unrar15.Tpo .deps/unrar15.Plo
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I..  -I/opt/local/include  -fdefer-pop -fdelayed-branch -fguess-branch-probability  -fcprop-registers -floop-optimize -fif-conversion  -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts  -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename  -ftree-fre -ftree-ch -fmerge-constants  -fthread-jumps -fcrossjumping -foptimize-sibling-calls  -fcse-follow-jumps  -fcse-skip-blocks -fgcse  -fgcse-lm  -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop  -frerun-loop-opt -fcaller-saves -fforce-mem -fpeephole2  -fschedule-insns  -fschedule-insns2 -fsched-spec -fregmove  -fdelete-null-pointer-checks -freorder-functions  -funit-at-a-time -falign-functions  -falign-jumps -falign-loops  -falign-labels -ftree-pre -MT unrar.lo -MD -MP -MF .deps/unrar.Tpo -c -o unrar.lo unrar.c
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/local/include -fdefer-pop -fdelayed-branch -fguess-branch-probability -fcprop-registers -floop-optimize -fif-conversion -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename -ftree-fre -ftree-ch -fmerge-constants -fthread-jumps -fcrossjumping -foptimize-sibling-calls -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop -frerun-loop-opt -fcaller-saves -fforce-mem -fpeephole2 -fschedule-insns -fschedule-insns2 -fsched-spec -fregmove -fdelete-null-pointer-checks -freorder-functions -funit-at-a-time -falign-functions -falign-jumps -falign-loops -falign-labels -ftree-pre -MT unrar.lo -MD -MP -MF .deps/unrar.Tpo -c unrar.c  -fno-common -DPIC -o .libs/unrar.o
unrar.c:1: warning: this target machine does not have delayed branches
unrar.c: In function 'execute_code':
unrar.c:274: internal compiler error: in final_scan_insn, at final.c:2535
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[2]: *** [unrar.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_jwa_work_macports-trunk_dports_sysutils_clamav/work/clamav-0.92" && make all " returned error 2
Command output: make  all-recursive
Making all in libclamunrar
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I..  -I/opt/local/include  -fdefer-pop -fdelayed-branch -fguess-branch-probability  -fcprop-registers -floop-optimize -fif-conversion  -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts  -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename  -ftree-fre -ftree-ch -fmerge-constants  -fthread-jumps -fcrossjumping -foptimize-sibling-calls  -fcse-follow-jumps  -fcse-skip-blocks -fgcse  -fgcse-lm  -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop  -frerun-loop-opt -fcaller-saves -fforce-mem -fpeephole2  -fschedule-insns  -fschedule-insns2 -fsched-spec -fregmove  -fdelete-null-pointer-checks -freorder-functions  -funit-at-a-time -falign-functions  -falign-jumps -falign-loops  -falign-labels -ftree-pre -MT unrar15.lo -MD -MP -MF .deps/unrar15.Tpo -c -o unrar15.lo unrar15.c
mkdir .libs
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/local/include -fdefer-pop -fdelayed-branch -fguess-branch-probability -fcprop-registers -floop-optimize -fif-conversion -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename -ftree-fre -ftree-ch -fmerge-constants -fthread-jumps -fcrossjumping -foptimize-sibling-calls -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop -frerun-loop-opt -fcaller-saves -fforce-mem -fpeephole2 -fschedule-insns -fschedule-insns2 -fsched-spec -fregmove -fdelete-null-pointer-checks -freorder-functions -funit-at-a-time -falign-functions -falign-jumps -falign-loops -falign-labels -ftree-pre -MT unrar15.lo -MD -MP -MF .deps/unrar15.Tpo -c unrar15.c  -fno-common -DPIC -o .libs/unrar15.o
unrar15.c:1: warning: this target machine does not have delayed branches
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/local/include -fdefer-pop -fdelayed-branch -fguess-branch-probability -fcprop-registers -floop-optimize -fif-conversion -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename -ftree-fre -ftree-ch -fmerge-constants -fthread-jumps -fcrossjumping -foptimize-sibling-calls -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop -frerun-loop-opt -fcaller-saves -fforce-mem -fpeephole2 -fschedule-insns -fschedule-insns2 -fsched-spec -fregmove -fdelete-null-pointer-checks -freorder-functions -funit-at-a-time -falign-functions -falign-jumps -falign-loops -falign-labels -ftree-pre -MT unrar15.lo -MD -MP -MF .deps/unrar15.Tpo -c unrar15.c -o unrar15.o >/dev/null 2>&1
mv -f .deps/unrar15.Tpo .deps/unrar15.Plo
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I..  -I/opt/local/include  -fdefer-pop -fdelayed-branch -fguess-branch-probability  -fcprop-registers -floop-optimize -fif-conversion  -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts  -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename  -ftree-fre -ftree-ch -fmerge-constants  -fthread-jumps -fcrossjumping -foptimize-sibling-calls  -fcse-follow-jumps  -fcse-skip-blocks -fgcse  -fgcse-lm  -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop  -frerun-loop-opt -fcaller-saves -fforce-mem -fpeephole2  -fschedule-insns  -fschedule-insns2 -fsched-spec -fregmove  -fdelete-null-pointer-checks -freorder-functions  -funit-at-a-time -falign-functions  -falign-jumps -falign-loops  -falign-labels -ftree-pre -MT unrar.lo -MD -MP -MF .deps/unrar.Tpo -c -o unrar.lo unrar.c
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/local/include -fdefer-pop -fdelayed-branch -fguess-branch-probability -fcprop-registers -floop-optimize -fif-conversion -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename -ftree-fre -ftree-ch -fmerge-constants -fthread-jumps -fcrossjumping -foptimize-sibling-calls -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop -frerun-loop-opt -fcaller-saves -fforce-mem -fpeephole2 -fschedule-insns -fschedule-insns2 -fsched-spec -fregmove -fdelete-null-pointer-checks -freorder-functions -funit-at-a-time -falign-functions -falign-jumps -falign-loops -falign-labels -ftree-pre -MT unrar.lo -MD -MP -MF .deps/unrar.Tpo -c unrar.c  -fno-common -DPIC -o .libs/unrar.o
unrar.c:1: warning: this target machine does not have delayed branches
unrar.c: In function 'execute_code':
unrar.c:274: internal compiler error: in final_scan_insn, at final.c:2535
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[2]: *** [unrar.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Warning: the following items did not execute (for clamav): org.macports.destroot org.macports.build
DEBUG: 
Error: Unable to upgrade port: 1

assignment done per personal guess (dluke@… is probably the same person as dluke@…)

Attachments (2)

Portfile (2.0 KB) - added by danielluke (Daniel J. Luke) 13 years ago.
updated clamav portfile
Portfile.2 (2.1 KB) - added by danielluke (Daniel J. Luke) 13 years ago.
new i386 variant for clamav

Download all attachments as: .zip

Change History (11)

Changed 13 years ago by danielluke (Daniel J. Luke)

Attachment: Portfile added

updated clamav portfile

comment:1 Changed 13 years ago by danielluke (Daniel J. Luke)

Status: newassigned

Can you try the portfile I just attached to this bug (or try removing -fdelayed-branch from the portfile you already have?)

There's a gcc bug that the portfile works around by manually specifying the optimizations that gcc does for -O2, but it looks like it doesn't work right on intel macs (I don't have one to test with).

Thanks!

comment:2 Changed 13 years ago by danielluke (Daniel J. Luke)

Milestone: Port Bugs

comment:3 Changed 13 years ago by jyrkiwahlstedt

Sorry, no luck, same problem, same place (I removed the option manually in my svn tree). Well, I then tried with removing the schedule-insn options with the same result (guessing based on where the compiler crashed, but optimization is complex):-(

comment:4 Changed 13 years ago by danielluke (Daniel J. Luke)

Can you try setting configure.cflags to -O0 ? That should work.

comment:5 Changed 13 years ago by jyrkiwahlstedt

Yes, that works. As the error message suggests filing a radar at Apple's bug reporting system, I perhaps could try to do that (today I don't have the time, but tomorrow)!?

Changed 13 years ago by danielluke (Daniel J. Luke)

Attachment: Portfile.2 added

new i386 variant for clamav

comment:6 Changed 13 years ago by danielluke (Daniel J. Luke)

can you try the Portfile.2 attachment and make sure that that works?

If so, I'll commit it.

Thanks again.

comment:7 Changed 13 years ago by jyrkiwahlstedt

Portfile.2 works for me, thanks!

Then, we'll just wait for the new compiler…

comment:8 Changed 13 years ago by danielluke (Daniel J. Luke)

Resolution: fixed
Status: assignedclosed

Fixed in r32195.

Thanks for the report and testing!

comment:9 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.