|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Patch: get glibc32 to build on mips & mips64 (get rid of the -m32)Hi List, glibc32 does not build on mips at all. there is a "-m32" option that is sneaking in to the gcc wrapper somewhere which fails the build, that has to be removed. and the abi has to be stepped down to the "old 32" because the new " n32" abi is still a 64bit abi, and tool chain errors will ensue when trying to link as pure 32 bits. =================================================================== --- glibc32.conf (revision 34043) +++ glibc32.conf (working copy) @@ -12,9 +12,23 @@ # GNU General Public License can be found in the file COPYING. # --- T2-COPYRIGHT-NOTE-END --- -# we need -m32 ... - still needed? -var_insert GCC_WRAPPER_INSERT " " "-m32" + + +echo "$arch_target" | grep -q mips +if [ $? = 0 ]; then + # -m32 option is not a legal option for mips + var_remove GCC_WRAPPER_INSERT ' ' '-m32' + # force 32 bit code + var_insert GCC_WRAPPER_INSERT " " "-mabi=32" + # not sure if these help or not + #var_insert GCC_WRAPPER_INSERT " " "-mlong32" + #var_insert GCC_WRAPPER_INSERT " " "-mgp32" +else + # we need -m32 ... - still needed? + var_insert GCC_WRAPPER_INSERT " " "-m32" +fi + arch_target="`echo $arch_target | arch2arch32`" echo_status "Set arch_target to $arch_target ..." set_confopt ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to lists@... with a subject of: unsubscribe t2 |
|
|
Re: Patch: get glibc32 to build on mips & mips64 (get rid of the -m32)Thanks Jan,
Committed revision 34381. TODO: Rene I need your ack here. Thanks. Cheers, Aldas On Tue, Aug 25, 2009 at 4:41 PM, Jan Rovins <janr@...> wrote:
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to lists@... with a subject of: unsubscribe t2 |
| Free embeddable forum powered by Nabble | Forum Help |