View Single Post
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#1298
Suggestion: compile libc6 with gcc-4.7-thumb
No proper patch yet, but seems it needs only one modification:
Code:
apt-get source libc6=2.5.1-1eglibc27+0m5
cd glibc-2.5.1/
fakeroot dpkg-buildpackage
->fails
Then patch:
Code:
build-tree/glibc-2.5/elf/Makefile
-		      -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
+		      -e 's/\. = .* + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
And continue building
Code:
cd build-tree/armel-libc
make
->success
 

The Following 5 Users Say Thank You to AapoRantalainen For This Useful Post: