| Summary: | sgabios-0.1_pre8.ebuild enhancement | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Vicente Olivert Riera (RETIRED) <vincent> |
| Component: | Current packages | Assignee: | 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 | ||
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. (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. ping (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. (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 (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? |
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.