NetBSD Problem Report #53440
From martin@duskware.de Tue Jul 10 11:03:10 2018
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id EF19B7A159
for <gnats-bugs@gnats.NetBSD.org>; Tue, 10 Jul 2018 11:03:09 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: earm*hf builds are not hf?
X-Send-Pr-Version: 3.95
>Number: 53440
>Category: toolchain
>Synopsis: earm*hf builds are not hf?
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 10 11:05:00 +0000 2018
>Closed-Date: Tue Jul 10 13:55:23 +0000 2018
>Last-Modified: Tue Jul 10 13:55:23 +0000 2018
>Originator: Martin Husemann
>Release: NetBSD 8.99.21
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD space-truckin.duskware.de 8.99.21 NetBSD 8.99.21 (SUNXI) #50: Mon Jul 2 12:41:24 CEST 2018 martin@night-owl.duskware.de:/usr/src/sys/arch/evbarm/compile/SUNXI evbarm
Architecture: earmv7hfeb
Machine: evbarm
>Description:
I am probably missing something, but if you grep for "-mfloat-abi=soft"
or "-msoft-float" in the build log of an eabi arm build for hard float,
there are lots of hits. One arbitrary example:
/usr/tools/bin/armv7eb--netbsdelf-eabihf-gcc -O2 -pipe -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror -mabi=apcs-gnu -mfloat-abi=soft -marm -fPIE -mabi=apcs-gnu -mfloat-abi=soft -marm -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -msoft-float --sysroot=/hosts/evbearmv7hf-eb -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -D_DIAGNOSTIC -DMLIBDIR=\"oabi\" -DHESIOD -DINET6 -DNLS -DYP -I/usr/src/lib/libc/include -I/usr/src/lib/libc -I. -DSOFTFLOAT -I/usr/src/lib/libc/arch/arm/softfloat -I/usr/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -I/usr/src/sys -I/usr/src/lib/libc/compat/../locale -I/usr/src/lib/libc/compat/stdlib -I/usr/src/lib/libc/compat/../stdlib -D__BU
ILD_LEGACY -I/usr/src/lib/libc/../../common/lib/libc/quad -I/usr/src/lib/libc/../../common/lib/libc/string -I/usr/src/lib/libc/../../common/lib/libc/arch/arm/string -D__DBINTERFACE_PRIVATE -I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -I/usr/src/lib/libc/gdtoa -I/usr/src/lib/libc/locale -DNO_FENV_H -I/usr/src/lib/libc/arch/arm/gdtoa -DWITH_RUNE -I/usr/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT -D_FORTIFY_SOURCE=2 -c /usr/src/lib/libc/compat/gen/compat_times.c -o compat_times.o
>How-To-Repeat:
see above
>Fix:
n/a
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Tue, 10 Jul 2018 13:55:23 +0000
State-Changed-Why:
Joerg pointed out that this is building parts of commpat libs, so -msoft-float
is fine.
Actually the only compiler invocations with -msoft-float but no -mabi= are
in the sanitizer lib builds, so everything is fine.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.