Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 458322

Summary: sgabios-0.1_pre8.ebuild enhancement
Product: Gentoo Linux Reporter: Vicente Olivert Riera (RETIRED) <vincent>
Component: Current packagesAssignee: Gentoo QEMU Project <qemu+disabled>
Status: RESOLVED FIXED    
Severity: enhancement CC: cardoe
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sgabios-0.1_pre8.ebuild.patch

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?