Re: gcc updated to latest 4.8 branch snapshot.

Nick Hudson <[email protected]> Wed, 15 Oct 2014 23:14:20 +0100
Newsgroups gmane.os.netbsd.ports.sh3,gmane.os.netbsd.current,gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
On 10/15/14 17:59, Yasushi Oshima wrote:
> Hi,
>
> matthew green <[email protected]> wrote:
>
>> there appears to be no fall out, but just in case there is, i've
>> imported the latest 4.8 branch snapshot and plan to get it updated
>> in netbsd-7 as well.
>>
>> this update fixes several sh3 issues, as well as over 50 GCC PRs,
>> over what we have already.
> I tested NetBSD/landisk-current from daily snapshot 201410150710Z,
> ftp://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201410150710Z/landisk
>
> but the problem still occurs:
>
> # uname -a
> NetBSD usl5p1 7.99.1 NetBSD 7.99.1 (GENERIC.201410150710Z) #0: Wed Oct =
15 09:38:35 UTC 2014  [email protected]:/home/builds/ab/HEAD/landisk/=
201410150710Z-obj/home/source/ab/HEAD/src/sys/arch/landisk/compile/GENERI=
C landisk
> # gcc -v
> Using built-in specs.
> COLLECT_GCC=3Dgcc
> Target: shle--netbsdelf
> Configured with: /usr/src7/tools/gcc/../../external/gpl3/gcc/dist/confi=
gure --target=3Dshle--netbsdelf --enable-long-long --enable-threads --wit=
h-bugurl=3Dhttp://www.NetBSD.org/Misc/send-pr.html --with-pkgversion=3D'N=
etBSD nb1 20140527' --with-system-zlib --enable-__cxa_atexit --enable-lib=
stdcxx-threads --enable-libstdcxx-time=3Drt --with-mpc-lib=3D/var/obj/mkn=
ative/landisk-sh3el/usr/src7/external/lgpl3/mpc/lib/libmpc --with-mpfr-li=
b=3D/var/obj/mknative/landisk-sh3el/usr/src7/external/lgpl3/mpfr/lib/libm=
pfr --with-gmp-lib=3D/var/obj/mknative/landisk-sh3el/usr/src7/external/lg=
pl3/gmp/lib/libgmp --with-mpc-include=3D/usr/src7/external/lgpl3/mpc/dist=
/src --with-mpfr-include=3D/usr/src7/external/lgpl3/mpfr/dist/src --with-=
gmp-include=3D/usr/src7/external/lgpl3/gmp/lib/libgmp/arch/sh3el --enable=
-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=
=3Dx86_64-unknown-netbsd6.0. --host=3Dshle--netbsdelf --with-sysroot=3D/v=
ar/obj/mknative/landisk-sh3el/usr/src7/destdir.landisk
> Thread model: posix
> gcc version 4.8.4 (nb1 20140527)
>
> # file /usr/bin/gcc
> /usr/bin/gcc: ELF 32-bit LSB executable, Renesas SH, version 1 (SYSV), =
dynamically linked (uses shared libs), for NetBSD 7.99.1, not stripped

It all works for me.

slim# dmesg
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,=

     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
     The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

NetBSD 7.99.1 (GENERIC) #0: Thu Oct  9 21:12:04 BST 2014
nick@zoom:/wrk/obj/landisk/wrk/netbsd/src-sh3/sys/arch/landisk/compile/GE=
NERIC
Model: I-O DATA LANDISK
total memory =3D 65536 KB
avail memory =3D 57892 KB
kern.module.path=3D/stand/landisk/7.99.1/modules
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0: SH4 266.666 MHz PCLOCK 33.333 MHz
cpu0: 8KB/32B direct-mapped Instruction cache.
cpu0: 16KB/32B direct-mapped Data cache.
cpu0: U0, P0, P3 write-through; P1 write-through
cpu0: full-associative 4 ITLB, 64 UTLB entries
cpu0: multiple virtual storage mode, SQ access: kernel, wired 3
shpcic0 at mainbus0: vendor 1054 product 350e (host bridge, revision 0x01=
)
PCI bus 0: Warning: Total bandwidth exceeded!? (5732712)
pci0 at shpcic0
pci0: i/o space, memory space enabled
re0 at pci0 dev 0 function 0: RealTek 8139C+ 10/100BaseTX (rev. 0x20)
re0: interrupting at irq 5
re0: Ethernet address 00:a0:b0:70:c1:f9
re0: using 64 tx descriptors
rlphy0 at re0 phy 0: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
acardide0 at pci0 dev 1 function 0: Acard ATP865-A Ultra133 IDE=20
Controller (rev. 0x07)
acardide0: bus-master DMA support present
acardide0: primary channel wired to native-PCI mode
acardide0: using irq 6 for native-PCI interrupt
atabus0 at acardide0 channel 0
acardide0: secondary channel wired to native-PCI mode
atabus1 at acardide0 channel 1
ohci0 at pci0 dev 2 function 0: vendor 1033 product 0035 (rev. 0x43)
ohci0: interrupting at irq 7
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
ohci1 at pci0 dev 2 function 1: vendor 1033 product 0035 (rev. 0x43)
ohci1: interrupting at irq 8
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
ehci0 at pci0 dev 2 function 2: vendor 1033 product 00e0 (rev. 0x04)
ehci0: interrupting at irq 5
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
shb0 at mainbus0
scif0 at shb0
scif0: console
rs5c313rtc0 at shb0: RICOH 5C313 real time clock
obio0 at mainbus0
btn0 at obio0 irq 12: USL-5P buttons
pwrsw0 at obio0 irq 11: Power Switch
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "tmu_pclock_4" frequency 8333333 Hz quality 0
uhub0 at usb0: vendor 1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr =
1
uhub0: 3 ports with 3 removable, self powered
uhub1 at usb1: vendor 1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr =
1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: vendor 1033 EHCI root hub, class 9/0, rev 2.00/1.00, addr =
1
uhub2: 5 ports with 5 removable, self powered
wd0 at atabus0 drive 0
wd0: <Maxtor 91360U4>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 12982 MB, 26377 cyl, 16 head, 63 sec, 512 bytes/sect x 26588016 sect=
ors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(acardide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4=20
(Ultra/66) (using DMA)
Kernelized RAIDframe activated
boot device: wd0
root on wd0a dumps on wd0b
WARNING: clock gained 4 days
slim# gcc -v
Using built-in specs.
COLLECT_GCC=3Dgcc
Target: shle--netbsdelf
Configured with:=20
/usr/src4/tools/gcc/../../external/gpl3/gcc/dist/configure=20
--target=3Dshle--netbsdelf --enable-long-long --enable-threads=20
--with-bugurl=3Dhttp://www.NetBSD.org/Misc/send-pr.html=20
--with-pkgversion=3D'NetBSD nb1 20140527' --with-system-zlib=20
--enable-__cxa_atexit --enable-libstdcxx-threads=20
--with-mpc-lib=3D/var/obj/mknative/landisk-sh3el/usr/src4/external/lgpl3/=
mpc/lib/libmpc=20
--with-mpfr-lib=3D/var/obj/mknative/landisk-sh3el/usr/src4/external/lgpl3=
/mpfr/lib/libmpfr=20
--with-gmp-lib=3D/var/obj/mknative/landisk-sh3el/usr/src4/external/lgpl3/=
gmp/lib/libgmp=20
--with-mpc-include=3D/usr/src4/external/lgpl3/mpc/dist/src=20
--with-mpfr-include=3D/usr/src4/external/lgpl3/mpfr/dist/src=20
--with-gmp-include=3D/usr/src4/external/lgpl3/gmp/lib/libgmp/arch/sh3el=20
--enable-tls --disable-multilib --disable-symvers=20
--disable-libstdcxx-pch --build=3Dx86_64-unknown-netbsd6.0.=20
--host=3Dshle--netbsdelf=20
--with-sysroot=3D/var/obj/mknative/landisk-sh3el/usr/src4/destdir.landisk=

Thread model: posix
gcc version 4.8.4 (nb1 20140527)
slim#

The summary of an atf run is

Summary for 588 test programs:
     3736 passed test cases.
     43 failed test cases.
     26 expected failed test cases.
     101 skipped test cases.

Nick