# 00:07:09 |
sh4rm4 |
either look if "-s" is passed in some CFLAGS or the strip tool is invoked somehow... |
# 00:07:17 |
sh4rm4 |
or wait till y_morin is back |
# 00:07:25 |
sh4rm4 |
probably in about 10 hours |
# 00:07:50 |
xp99work |
dang |
# 00:08:19 |
xp99work |
none of the cflags have anything in them |
# 00:08:24 |
sh4rm4 |
which library in particular ? |
# 00:08:31 |
xp99work |
eglibc 2.10 |
# 00:08:54 |
sh4rm4 |
i think that one has a configure switch to build with symbols |
# 00:09:21 |
sh4rm4 |
you just have to tell ct-ng somehow to use that option |
# 00:09:26 |
xp99work |
I know they're stripped cuz I ran file on the libc-2.10.so |
# 00:09:30 |
sh4rm4 |
--with-debug , or so |
# 00:10:37 |
sh4rm4 |
i'm pretty sure ct-ng doesnt call "strip" manually after the build |
# 00:20:24 |
xp99work |
oh wonderful |
# 00:20:31 |
xp99work |
crosstool-ng is not stripping the libraries |
# 00:20:34 |
xp99work |
buildroot is |
# 00:21:08 |
sh4rm4 |
buildroot ? |
# 00:21:30 |
xp99work |
http://buildroot.uclibc.org/buildroot.html |
# 00:21:36 |
sh4rm4 |
simple workaround: move the strip binary temporary away |
# 00:21:39 |
xp99work |
generates a root file system and has all sorts of packages |
# 00:21:45 |
sh4rm4 |
and replace it with a shell script that does nothing |
# 00:22:10 |
sh4rm4 |
usually you dont need buildroot when using ct-ng |
# 00:22:31 |
xp99work |
so for now I will copy over the unstripped libraries from staging to target |
# 00:22:37 |
xp99work |
but backup the target dir first |
# 00:22:44 |
xp99work |
this was easier then I thought |
# 00:53:34 |
xp99work |
oh damnit |
# 00:53:46 |
xp99work |
gdb cannot debug libpthread |
# 00:54:35 |
sh4rm4 |
lol |
# 00:54:47 |
sh4rm4 |
which platform do you compile for ? |
# 00:54:51 |
xp99work |
x86_64 |
# 00:55:07 |
xp99work |
and its gdb 6.8 |
# 00:55:11 |
xp99work |
this annoys me |
# 00:55:17 |
sh4rm4 |
there's also musl libc, just to let you know |
# 00:55:40 |
sh4rm4 |
pthreads is built in there |
# 00:56:34 |
sh4rm4 |
https://github.com/pikhq/musl-cross-compiler |
# 00:57:26 |
sh4rm4 |
here's a prebuilt static i386 compiler https://github.com/downloads/linux-static/linux-static-i386/i686-linux-musl-gcc.tar.xz |
# 00:58:00 |
sh4rm4 |
havent built one for x64 yet |
# 00:58:26 |
sh4rm4 |
the i386 one works on both i386 and x64 |
# 01:39:41 |
xp99work |
unfortunately what I'm debugging is 64-bit |
# 01:39:59 |
xp99work |
or rather the programmers are debugging it, I'm just trying to get the environment to work for them :) |
# 02:14:37 |
xp99work |
quits : Remote host closed the connection |
# 03:11:49 |
al` |
quits : Read error: Connection reset by peer |
# 03:12:02 |
al` |
joins #crosstool-ng |
# 04:08:01 |
al` |
quits : Read error: Connection reset by peer |
# 04:08:15 |
sh4rm4 |
quits : *.net *.split |
# 04:08:15 |
KAeL |
quits : *.net *.split |
# 04:08:20 |
kos_tom |
quits : *.net *.split |
# 04:08:21 |
sinseman44 |
quits : *.net *.split |
# 04:08:22 |
ChanServ |
quits : *.net *.split |
# 04:11:45 |
al` |
joins #crosstool-ng |
# 04:11:45 |
sinseman44 |
joins #crosstool-ng |
# 04:11:45 |
ChanServ |
joins #crosstool-ng |
# 04:11:45 |
kos_tom |
joins #crosstool-ng |
# 04:11:45 |
KAeL |
joins #crosstool-ng |
# 04:11:45 |
sh4rm4 |
joins #crosstool-ng |
# 04:28:39 |
mnt_real |
quits : Quit: Leaving |
# 04:49:27 |
al` |
quits : Read error: Connection reset by peer |
# 04:55:54 |
al` |
joins #crosstool-ng |
# 08:07:29 |
kos_tom |
quits : Ping timeout: 258 seconds |
# 08:08:46 |
kos_tom |
joins #crosstool-ng |
# 09:35:53 |
ctngbot |
joins #crosstool-ng |
# 16:57:11 |
ctngbot |
joins #crosstool-ng |
# 17:35:42 |
mnt_real |
joins #crosstool-ng |
# 17:52:41 |
kos_tom_ |
is now known as: kos_tom |
# 18:27:12 |
y_morin |
is now known as: y_morin|away |
# 19:43:55 |
y_morin|away |
is now known as: y_morin |
# 22:22:02 |
y_morin |
quits : Quit: Nity Night! |
# 23:15:28 |
al`_ |
joins #crosstool-ng |
# 23:17:02 |
al` |
quits : Ping timeout: 244 seconds |