Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667850 - sys-boot/grub-2.0.2-r3 on sparc - checking for options to compile assembly... configure: error: could not compile assembly
Summary: sys-boot/grub-2.0.2-r3 on sparc - checking for options to compile assembly......
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mike Gilbert
URL: https://git.savannah.gnu.org/cgit/gru...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2018-10-05 21:10 UTC by Ben Kohler
Modified: 2020-03-01 19:29 UTC (History)
2 users (show)

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


Attachments
emerge --info (info.txt,4.88 KB, text/plain)
2018-10-05 21:10 UTC, Ben Kohler
Details
build.log (build.log,28.41 KB, text/x-log)
2018-10-05 21:10 UTC, Ben Kohler
Details
config.log (config.log,349.70 KB, text/plain)
2018-10-05 21:11 UTC, Ben Kohler
Details
build fix (grub-m64.patch,1.06 KB, patch)
2018-10-05 21:12 UTC, Ben Kohler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler gentoo-dev 2018-10-05 21:10:04 UTC
Created attachment 549474 [details]
emerge --info

I'm attempting to build grub for sparc to get it keyworded there.  Fails on configure with:

checking for options to compile assembly... configure: error: could not compile assembly

And config.log says:

/var/tmp/portage/sys-boot/grub-2.02-r3/work/grub-2.02/asm-tests/sparc64.S:7: Error: Architecture mismatch on "stw %o5,[%o3]".
/var/tmp/portage/sys-boot/grub-2.02-r3/work/grub-2.02/asm-tests/sparc64.S:7: (Requires v9|v9a|v9b|v9c|v9d|v9e|v9v|v9m|m8; requested architecture is sparclite.)
Comment 1 Ben Kohler gentoo-dev 2018-10-05 21:10:40 UTC
Created attachment 549476 [details]
build.log
Comment 2 Ben Kohler gentoo-dev 2018-10-05 21:11:14 UTC
Created attachment 549478 [details]
config.log
Comment 3 Ben Kohler gentoo-dev 2018-10-05 21:12:32 UTC
Created attachment 549480 [details, diff]
build fix

This patch was supplied by floppym to properly set -m64
Comment 4 Matt Turner gentoo-dev 2020-02-20 06:53:20 UTC
Patch sent upstream.
Comment 5 Matt Turner gentoo-dev 2020-02-28 18:25:34 UTC
Patch is now upstream.
Comment 6 Larry the Git Cow gentoo-dev 2020-03-01 19:29:05 UTC
The bug has been closed via the following commit(s):

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

commit b88479552ab4e2e28ee122fa7efac6193219c386
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-03-01 19:27:32 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-03-01 19:28:32 +0000

    sys-boot/grub-2.05_alpha20200228: add ~sparc
    
    Closes: https://bugs.gentoo.org/667850
    Closes: https://bugs.gentoo.org/667852
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 sys-boot/grub/grub-2.05_alpha20200228.ebuild | 2 +-
 sys-boot/grub/grub-9999.ebuild               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)