Bug 217259 - riscv/riscv64 fails to compile on ^/stable/11: error: unrecognized command line option '-msoft-float'; did you mean '-mno-float'?
Summary: riscv/riscv64 fails to compile on ^/stable/11: error: unrecognized command li...
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 11.0-STABLE
Hardware: riscv Any
: --- Affects Some People
Assignee: Ruslan Bukin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-21 01:01 UTC by Enji Cooper
Modified: 2017-03-29 11:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2017-02-21 01:01:57 UTC
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
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2017-03-29 11:10:01 UTC
Discussed with br@, RISC-V is tier 3 supported since 12.
stable/11 jobs will be removed from ci.freebsd.org soon.