[Bug 217259] riscv/riscv64 fails to compile on ^/stable/11: error: unrecognized command line option '-msoft-float'; did you mean '-mno-float'?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 21 01:01:57 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217259

            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 at FreeBSD.org
          Reporter: ngie at 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=/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/.. 
-I/workspace/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/libssp

-I/workspace/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/include
-fPIC -DPIC -fvisibility=hidden -msoft-float   -MD  -MF.depend.ssp-local.o
-MTssp-local.o -std=gnu99 -fstack-protector-strong -Wno-error=unused-function
-Wno-error=enum-compare -Wno-error=logical-not-parentheses
-Wno-error=bool-compare -Wno-error=uninitialized -Wno-error=array-bounds
-Wno-error=clobbered -Wno-error=cast-align -Wno-error=extra
-Wno-error=attributes -Wno-error=inline -Wno-error=unused-but-set-variable
-Wno-error=unused-value -Wno-error=strict-aliasing -Wno-error=address     -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

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


More information about the freebsd-bugs mailing list