Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831334 - sys-libs/efivar-38: build fail on RISC-V - can't recognize -march=native
Summary: sys-libs/efivar-38: build fail on RISC-V - can't recognize -march=native
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: riscv Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 831316
  Show dependency tree
 
Reported: 2022-01-17 05:28 UTC by Yixun Lan
Modified: 2022-01-17 15:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,3.59 KB, text/plain)
2022-01-17 05:29 UTC, Yixun Lan
Details
efivar-38-riscv.patch (efivar-38-riscv.patch,693 bytes, patch)
2022-01-17 05:39 UTC, Yixun Lan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yixun Lan archtester gentoo-dev 2022-01-17 05:28:16 UTC
sys-libs/efivar-38, build fail on RISC-V machine - can't recognize -march=native
Comment 1 Yixun Lan archtester gentoo-dev 2022-01-17 05:29:28 UTC
Created attachment 762376 [details]
build.log
Comment 2 Yixun Lan archtester gentoo-dev 2022-01-17 05:39:04 UTC
Created attachment 762377 [details, diff]
efivar-38-riscv.patch

drop -march=native for RISC-V will solve the problem
Comment 3 Larry the Git Cow gentoo-dev 2022-01-17 15:22:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b258e2593e406538c8ca5029d027f315edc44843

commit b258e2593e406538c8ca5029d027f315edc44843
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-01-17 15:21:27 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-01-17 15:21:27 +0000

    sys-libs/efivar: drop -march=native
    
    Closes: https://bugs.gentoo.org/831334
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-libs/efivar/efivar-38.ebuild | 5 +++++
 1 file changed, 5 insertions(+)