NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-sh3/49253: NetBSD/sh3 7.0_BETA binaries made by gcc48 strange somewhere.

>Number:         49253
>Category:       port-sh3
>Synopsis:       NetBSD/sh3 7.0_BETA binaries made by gcc48 strange somewhere.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-sh3-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 04 06:50:00 +0000 2014
>Originator:     Yasushi Oshima
>Release:        NetBSD 7.0_BETA
NetBSD usl5p2 7.0_BETA NetBSD 7.0_BETA (GENERIC.201410031710Z) landisk

In NetBSD/sh3-port (landisk, hpcsh, ...) 7.0_BETA, some binaries does not work correctly.

1) For building pkgsrc, the gcc occurs SIGSEGV.

2) When atf-run in /usr/tests/fs/psshfs, it fails. 
  the mount_psshfs got signal 4(SIGILL). it is very strange.(*1)

For comparison, I build NetBSD/landisk binary with GCC45 by -V HAVE_GCC45 and run,

1) 'make pkgsrc/pkgtools/digest' success.
2) atf-run psshfs passed, SIGILL does not occur. 

2') in GCC4.8 (Normal release binary) environment, 
  I copy binary built by GCC4.5,
  atf-run psshfs passed, successful.
  In this case, the problem is in built by gcc4.8 only.

I think these problems are caused by GCC48 for netbsd/sh3, it may generate worse binary.
(Now GCC48 is the default for NetBSD/sh3 in netbsd-7 and current)

*1: results of all atf-run in /usr/tests is here:
 gcc48/ is by the normal release binaries in NetBSD7.0_BETA,
 gcc45/ is by binarries built with -V HAVE_GCC=45 in netbsd-7 tree.

1) install NetBSD 7.0_BETA to NetBSD/sh3 port
2) build pkgsrc/pkgtools/digest
2') run atf-run in /usr/tests/fs/psshfs

no idea.

Home | Main Index | Thread Index | Old Index