Subject: compiling devel/gettext-lib fails on PowerMac
To: None <>
From: Georg Schwarz <>
List: pkgsrc-users
Date: 04/12/2006 22:58:59
When I'm compiling devel/gettext-lib on a G5 PowerMac I end up like  

gcc -pipe -c -DLOCALEDIR=\"/Users/schwarz/pkg/share/locale\" - 
DLOCALE_ALIAS_PATH=\"/Users/schwarz/pkg/share/locale\" -DLIBDIR=\"/ 
Users/schwarz/pkg/lib\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 - 
DIN_LIBRARY -DINSTALLDIR=\"/Users/schwarz/pkg/lib\" -DNO_XMALLOC - 
Dset_relocation_prefix=libintl_set_relocation_prefix - 
Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H - 
I. -I.. -no-cpp-precomp -O3 -falign-loops-max-skip=15 -falign-jumps- 
max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 - 
malign-natural -ffast-math -funroll-loops -ftree-loop-linear -mcpu=G5  
-mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -mpowerpc64 - 
ftree-loop-memset ./localealias.c  -fno-common -DPIC -o .libs/ 
./localealias.c: In function 'read_alias_file':
./localealias.c:218: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.
{standard input}:12:FATAL:.abort  detected.  Assembly stopping.
*** Error code 1

bmake: stopped in /Users/schwarz/pkgsrc/devel/gettext-lib/work/ 
*** Error code 1

This only happens when using the -ftree-loop-memset (or -fast)  
compiler option. I have

powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc.  
build 5247)
Darwin 8.6.0 Darwin Kernel Version 8.6.0: Tue  
Mar  7 16:58:48 PST 2006; root:xnu-792.6.70.obj~1/RELEASE_PPC Power  
Macintosh powerpc

can others reproduct this? Should I file a bug report, and if so, to  

Georg Schwarz  +49 178 8545053