Summary: | dev-libs/dietlibc-0.33 - allow to install in proper place when cross-compiling (PATCH added) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bertrand Jacquin <bertrand> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | bertrand, jstein |
Priority: | Normal | Keywords: | NeedPatch |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
dietlibc-4e86d5e-BJA-strip-override.diff
dietlibc-0.33_pre20110403.ebuild-BJA-cross.diff crossdev-BJA-dietlibc.diff dietlibc-0.33_pre20130103.ebuild-BJA-multiarch.diff files/dietlibc-0.33_pre20130103-BJA-nostrip.diff dietlibc-0.33.ebuild files/0.33-BJA-nostrip.diff |
Description
Bertrand Jacquin
2011-08-10 20:39:33 UTC
Created attachment 282877 [details, diff]
dietlibc-4e86d5e-BJA-strip-override.diff
Created attachment 282885 [details, diff]
dietlibc-0.33_pre20110403.ebuild-BJA-cross.diff
Here is a much better solution imho, just define target_XXX that you need, you need to set appropriate CROSS_XXX to compile correctly target libc arch
(In reply to comment #2) > Created attachment 282885 [details, diff] > dietlibc-0.33_pre20110403.ebuild-BJA-cross.diff > > Here is a much better solution imho, just define target_XXX that you need, you > need to set appropriate CROSS_XXX to compile correctly target libc arch Also, CFLAGS should be setted by target or only generic ones. Created attachment 282887 [details, diff]
crossdev-BJA-dietlibc.diff
As you can't really hope to build a gcc/gdb/etc with dielibc here is a patch to crossdev to only permit build a binutils
+*dietlibc-0.33_pre20130103 (03 Jan 2013) + + 03 Jan 2013; Pacho Ramos <pacho@gentoo.org> +dietlibc-0.33_pre20130103.ebuild: + Bump with snapshot taken today to get all the changes upstream did + Would be nice to get an updated patch against latest ebuild. Thanks Created attachment 350658 [details, diff]
dietlibc-0.33_pre20130103.ebuild-BJA-multiarch.diff
Here is an updated patch for the ebuild to be able to build for multiple arch as request by @pacho.
I also use a patch for Makefile to remove strip as sed in ebuild in not fully correct.
This also introduce a diet_flags funcs that is called for each targe as PIE (in the current case) can be available for the CBUILD and not for CHOST.
Created attachment 350660 [details, diff]
files/dietlibc-0.33_pre20130103-BJA-nostrip.diff
This replace sed from src_prepare() by a patch
Also available here: http://git.meleeweb.net/cgit.cgi/distros/gentoo/portage.git/log/dev-libs/dietlibc Created attachment 363806 [details]
dietlibc-0.33.ebuild
Version bump
Created attachment 363808 [details, diff]
files/0.33-BJA-nostrip.diff
Replace sed with a proper patch
We would need an updated patch against current version (or, even better, someone volunteering to proxy maintain this to get the fixes faster in the tree... as it seems latest version in the tree is also suffering many other issues :/) |