Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458322 - sgabios-0.1_pre8.ebuild enhancement
Summary: sgabios-0.1_pre8.ebuild enhancement
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-02-19 17:11 UTC by Vicente Olivert Riera (RETIRED)
Modified: 2013-07-09 15:36 UTC (History)
1 user (show)

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


Attachments
sgabios-0.1_pre8.ebuild.patch (file_458322.txt,804 bytes, text/plain)
2013-02-19 17:11 UTC, Vicente Olivert Riera (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vicente Olivert Riera (RETIRED) gentoo-dev 2013-02-19 17:11:23 UTC
Created attachment 339374 [details]
sgabios-0.1_pre8.ebuild.patch

What do you think about this patch?

It fixes the folling issues:

-calling cc directly
-calling ld directly
-callibg objcopy directly
-not respecting CFLAGS

I have tried to add OBJCOPY to tc-export, but it doesn't work.
Also, if I try to do LDFLAGS="$(LDFLAGS)" it fails.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2013-02-19 18:57:52 UTC
This is 16-bit real mode code. It won't work with clang which is what your goal is. Nor will it work with random CFLAGS.
Comment 2 Vicente Olivert Riera (RETIRED) gentoo-dev 2013-02-19 19:06:56 UTC
(In reply to comment #1)
> This is 16-bit real mode code. It won't work with clang which is what your
> goal is. Nor will it work with random CFLAGS.

This bug is not related to clang.
Comment 3 Vicente Olivert Riera (RETIRED) gentoo-dev 2013-07-09 09:21:28 UTC
ping
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2013-07-09 11:05:40 UTC
(In reply to Vicente Olivert Riera from comment #3)
> ping

Not sure what you are looking for here. It seems like you were looking for clang or gold support, which won't work. A number of weeks ago the ebuild was updated to work around gold users but not clang users.
Comment 5 Vicente Olivert Riera (RETIRED) gentoo-dev 2013-07-09 11:06:59 UTC
(In reply to Doug Goldstein from comment #4)
> (In reply to Vicente Olivert Riera from comment #3)
> > ping
> 
> Not sure what you are looking for here. It seems like you were looking for
> clang or gold support, which won't work. A number of weeks ago the ebuild
> was updated to work around gold users but not clang users.

I want to fix these things:

-calling cc directly
-calling ld directly
-callibg objcopy directly
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2013-07-09 14:37:28 UTC
(In reply to Vicente Olivert Riera from comment #5)
> (In reply to Doug Goldstein from comment #4)
> > (In reply to Vicente Olivert Riera from comment #3)
> > > ping
> > 
> > Not sure what you are looking for here. It seems like you were looking for
> > clang or gold support, which won't work. A number of weeks ago the ebuild
> > was updated to work around gold users but not clang users.
> 
> I want to fix these things:
> 
> -calling cc directly
> -calling ld directly
> -callibg objcopy directly

Have you looked at the ebuild in the tree?