Subject: Bus Error?!
To: None <port-macppc@netbsd.org>
From: Andreas Drewke <andreas_dr@gmx.de>
List: port-macppc
Date: 03/25/2004 15:10:11
Yesterday night I build Windowmaker (metapkg) without problems
after that X with WM I runs flawlessly on my PM7300

But Today (uptime ~ 14 hours) I get strange problems when compiling software

When "make install"-ing Firefox I get

pm7300# make install
===> *** No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum OK for firefox-source-0.8.tar.bz2.
===> Extracting for firefox-gtk2-0.8nb2
===> Required installed package libIDL>=0.8.2: libIDL-0.8.3 found
===> Required installed package gtk2+>=2.2.4nb2: gtk2+-2.2.4nb6 found
===> Required installed package atk>=1.4.1: atk-1.4.1 found
===> Required installed package pango>=1.2.5nb1: pango-1.2.5nb1 found
===> Required installed package glib2>=2.2.2nb1: glib2-2.2.3nb1 found
===> Required installed package png>=1.2.4: png-1.2.5nb2 found
===> Required installed package tiff>=3.6.1: tiff-3.6.1nb1 found
===> Required installed package jpeg>=6b: jpeg-6bnb1 found
===> Required installed package Xrandr>=1.0.1: Xrandr-1.0.1 found
===> Required installed package Xft2>=2.1nb1: Xft2-2.1.2nb1 found
===> Required installed package fontconfig>=2.1nb2: fontconfig-2.2.1nb3
found
===> Required installed package freetype2>=2.1.3: freetype2-2.1.5 found
===> Required installed package expat>=1.95.4: expat-1.95.7 found
===> Required installed package Xrender>=0.8.2: Xrender-0.8.3nb1 found
===> Required installed package zip>=2.3: zip-2.3nb2 found
===> Required installed package autoconf213>=2.13: autoconf213-2.13 found
===> Required installed package perl>=5.0: perl-5.6.1nb10 found
===> Required installed package x11-links>=0.23: x11-links-0.23 found
===> Required installed package randrext>=1.0: randrext-1.0 found
===> Required installed package pkgconfig>=0.15.0: pkgconfig-0.15.0 found
===> Required installed package render>=0.8: render-0.8 found
===> Required installed package gmake>=3.78: gmake-3.80nb2 found
/bin/cp "../../www/mozilla/files"/xptcinvoke_asm_sparc64_netbsd.s
/usr/pkgsrc/www/firefox-gtk2/work/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc64_netbsd.s
/bin/cp "../../www/mozilla/files"/xptcstubs_asm_sparc64_netbsd.s
/usr/pkgsrc/www/firefox-gtk2/work/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_sparc64_netbsd.s
/bin/cp "../../www/mozilla/files"/xptcinvoke_sparc64_netbsd.cpp
/usr/pkgsrc/www/firefox-gtk2/work/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_sparc64_netbsd.cpp
/bin/cp "../../www/mozilla/files"/xptcstubs_sparc64_netbsd.cpp
/usr/pkgsrc/www/firefox-gtk2/work/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_sparc64_netbsd.cpp
===> Patching for firefox-gtk2-0.8nb2
===> Applying pkgsrc patches for firefox-gtk2-0.8nb2
===> Overriding tools for firefox-gtk2-0.8nb2
===> Buildlinking for firefox-gtk2-0.8nb2
===> Configuring for firefox-gtk2-0.8nb2
cd /usr/pkgsrc/www/firefox-gtk2/work/mozilla && /usr/pkg/bin/autoconf-2.13
cd /usr/pkgsrc/www/firefox-gtk2/work/mozilla/nsprpub &&
/usr/pkg/bin/autoconf-2.13
=> Adding rpaths to pkgconfig files.
[1]   Bus error (core dumped) /usr/bin/file ${... |
      Done(1)                 /usr/bin/egrep "...
[1]   Bus error (core dumped) /usr/bin/file ${... |
      Done(1)                 /usr/bin/egrep "...
[1]   Bus error (core dumped) /usr/bin/file ${... |
      Done(1)                 /usr/bin/egrep "...
[1]   Bus error (core dumped) /usr/bin/file ${... |
      Done(1)                 /usr/bin/egrep "...
[1]   Bus error (core dumped) /usr/bin/file ${... |
      Done(1)                 /usr/bin/egrep "...
[1]   Bus error (core dumped) /usr/bin/file ${... |
      Done(1)                 /usr/bin/egrep "...
creating cache ./config.cache
checking host system type... powerpc--netbsd
checking target system type... powerpc--netbsd
checking build system type... powerpc--netbsd
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -I/usr/pkg/include -I/usr/include
-I/usr/pkg/include/freetype2 -Wl,-R/usr/pkg/lib/firefox-gtk2 -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib
-Wl,-R/usr/X11R6/lib) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/firefox-gtk2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/firefox-gtk2

-----------------------------------------------------------------
When "make install"-ing blockdown-jre13 I get


cd /usr/pkgsrc/lang/blackdown-jre13/work/j2re1.3.1/lib; for file in
content-types.properties    flavormap.properties font.properties                   
font.properties.ja font.properties.zh           jvm.cfg
images/cursors/cursors.properties       psfont.properties.ja psfontj2d.properties              
security/java.security; do                       /bin/mv -f $file $file.default;
                                done
===> Building for blackdown-jre13-1nb1
=> Fixing buildlink references in files-to-be-installed.
[1]   Bus error (core dumped) /usr/bin/file ${... |
      Done(1)                 /usr/bin/egrep "...
/usr/bin/find /usr/pkgsrc/lang/blackdown-jre13/work/j2re1.3.1 -name '*.orig'
-print | /usr/bin/xargs /bin/rm -f
/usr/bin/find /usr/pkgsrc/lang/blackdown-jre13/work/j2re1.3.1 -name '*.1.gz'
-print | /usr/bin/xargs /usr/bin/gunzip -f
===> Installing for blackdown-jre13-1nb1
install -d -o root -g wheel -m 755 /usr/pkg/java/blackdown-1.3.1
cd /usr/pkgsrc/lang/blackdown-jre13/work/j2re1.3.1 && /bin/pax -rw .
/usr/pkg/java/blackdown-1.3.1
cc1: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/blackdown-jre13
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/blackdown-jre13
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/blackdown-jre13
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/blackdown-jre13
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/blackdown-jre13
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/blackdown-jre13
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/blackdown-jdk13
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/blackdown-jdk13


Any Ideas?
Regards
Andreas

dmesg from the pm7300/g3/160mb ram:

NetBSD 1.6ZK (pm7300) #1: Wed Mar 24 11:08:47 UTC 2004
        andreas@pm7300:/usr/src/sys/arch/macppc/compile/pm7300
total memory = 160 MB
avail memory = 149 MB
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 2.2), ID 0 (primary)
cpu0: HID0 8290c0a4<EMCP,ECLK,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>
cpu0: 400.00 MHz, no-parity 512KB WB L2 cache (PB SRAM) at 2:1 ratio
bandit0 at mainbus0
pci0 at bandit0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer Bandit Host-PCI Bridge (rev. 0x03)
ofb0 at pci0 dev 13 function 0: ATI Technologies Rage 128 GL PCI
ofb0: 640 x 480, 8bpp
wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
pdcide0 at pci0 dev 15 function 0
pdcide0: Promise Ultra100TX2/ATA Bus Master IDE Accelerator (rev. 0x02)
pdcide0: bus-master DMA support present
pdcide0: primary channel configured to native-PCI mode
pdcide0: using irq 25 for native-PCI interrupt
atabus0 at pdcide0 channel 0
pdcide0: secondary channel configured to native-PCI mode
atabus1 at pdcide0 channel 1
obio0 at pci0 dev 16 function 0: addr 0xf3000000
esp0 at obio0 offset 0x10000 irq 12: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
mc0 at obio0 offset 0x11000: irq 14,2,3: address 00:05:02:12:9e:41
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
awacs at obio0 offset 0x14000 not configured
swim3 at obio0 offset 0x15000 not configured
adb0 at obio0 offset 0x16000 irq 18: 2 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: extended keyboard (ISO layout)
wskbd0 at akbd0: console keyboard, using wsdisplay0
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse0 at ams0 mux 0
mesh0 at obio0 offset 0x18000 irq 13: 50MHz, SCSI ID 7
scsibus1 at mesh0: 8 targets, 8 luns per target
nvram0 at obio0 offset 0x1d000
bandit1 at mainbus0
pci1 at bandit1 bus 1
pci1: i/o space, memory space enabled
ofb1 at pci1 dev 11 function 0: Apple Computer Control
ofb1: 640 x 480, 8bpp
wsdisplay at ofb1 not configured
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <IBM, DCAS-32160, S65A> disk fixed
sd0: drive offline
sd0: sync (160.00ns offset 15), 8-bit (6.250MB/s) transfers
cd0 at scsibus0 target 3 lun 0: <MATSHITA, CD-ROM CR-8012, 1.0f> cdrom
removable
cd0: sync (200.00ns offset 8), 8-bit (5.000MB/s) transfers
wd0 at atabus0 drive 0: <ST380011A>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488
sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(pdcide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA
data transfers)
boot device: cd0
root on wd0a dumps on wd0b
wd0: transfer error, downgrading to Ultra-DMA mode 2
wd0(pdcide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data transfers)
wd0c: error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0: (aborted command, interface CRC error)
wd0: soft error (corrected)
root file system type: ffs

-- 
www: http://drewke.net / icq:175089452

+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz