Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2017 01:01:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217259] riscv/riscv64 fails to compile on ^/stable/11: error: unrecognized command line option '-msoft-float'; did you mean '-mno-float'?
Message-ID:  <bug-217259-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217259

            Bug ID: 217259
           Summary: riscv/riscv64 fails to compile on ^/stable/11: error:
                    unrecognized command line option '-msoft-float'; did
                    you mean '-mno-float'?
           Product: Base System
           Version: CURRENT
          Hardware: riscv
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: ngie@FreeBSD.org

Some of the required backports for riscv64 seem to be missing, which would
address this issue (in particular r308731). This causes build failures when
building riscv/riscv64 .

>From https://ci.freebsd.org/job/FreeBSD-stable-11-riscv64-build/16/console :

10:51:28 /usr/local/bin/riscv64-unknown-freebsd11.0-gcc -isystem
/workspace/obj/riscv.riscv64/workspace/src/tmp/usr/include
-L/workspace/obj/riscv.riscv64/workspace/src/tmp/usr/lib
--sysroot=3D/workspace/obj/riscv.riscv64/workspace/src/tmp
-B/usr/local/riscv64-freebsd/bin/  -O2 -pipe -DHAVE_CONFIG_H
-I/workspace/src/gnu/lib/libssp/libssp_nonshared/..=20
-I/workspace/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclib=
s/libssp

-I/workspace/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclib=
s/include
-fPIC -DPIC -fvisibility=3Dhidden -msoft-float   -MD  -MF.depend.ssp-local.o
-MTssp-local.o -std=3Dgnu99 -fstack-protector-strong -Wno-error=3Dunused-fu=
nction
-Wno-error=3Denum-compare -Wno-error=3Dlogical-not-parentheses
-Wno-error=3Dbool-compare -Wno-error=3Duninitialized -Wno-error=3Darray-bou=
nds
-Wno-error=3Dclobbered -Wno-error=3Dcast-align -Wno-error=3Dextra
-Wno-error=3Dattributes -Wno-error=3Dinline -Wno-error=3Dunused-but-set-var=
iable
-Wno-error=3Dunused-value -Wno-error=3Dstrict-aliasing -Wno-error=3Daddress=
     -c
/workspace/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/=
libssp/ssp-local.c
-o ssp-local.o
10:51:28 --- gnu/lib/libgcc__PL ---
10:51:28 --- beforebuild ---
10:51:28 --- gnu/lib/libssp/libssp_nonshared__PL ---
10:51:28 riscv64-unknown-freebsd11.0-gcc: error: unrecognized command line
option '-msoft-float'; did you mean '-mno-float'?
10:51:28 *** [ssp-local.o] Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217259-8>