# 00:18:56 |
memleak |
quits : *.net *.split |
# 00:29:57 |
sh4rm4 |
quits : Remote host closed the connection |
# 00:34:29 |
sh4rm4 |
joins #crosstool-ng |
# 00:36:27 |
memleak |
joins #crosstool-ng |
# 00:53:04 |
diorcety |
parts #crosstool-ng |
# 01:35:28 |
xrl__ |
joins #crosstool-ng |
# 01:47:47 |
codyps |
quits : Ping timeout: 272 seconds |
# 01:48:15 |
codyps |
joins #crosstool-ng |
# 01:50:59 |
diorcety1 |
joins #crosstool-ng |
# 02:17:33 |
diorcety1 |
quits : Ping timeout: 272 seconds |
# 02:18:10 |
diorcety |
joins #crosstool-ng |
# 03:11:11 |
sh4rm4 |
quits : Remote host closed the connection |
# 03:11:34 |
sh4rm4 |
joins #crosstool-ng |
# 03:45:22 |
sh4rm4 |
quits : Remote host closed the connection |
# 03:45:51 |
sh4rm4 |
joins #crosstool-ng |
# 03:51:06 |
sh4rm4 |
quits : Remote host closed the connection |
# 03:51:32 |
sh4rm4 |
joins #crosstool-ng |
# 04:21:52 |
mingwandroid_ |
quits : Ping timeout: 264 seconds |
# 04:29:17 |
ansiwen_ |
joins #crosstool-ng |
# 04:56:00 |
xrl__ |
quits : *.net *.split |
# 05:00:16 |
diorcety1 |
joins #crosstool-ng |
# 05:07:23 |
xrl__ |
joins #crosstool-ng |
# 05:11:50 |
diorcety |
quits : *.net *.split |
# 05:11:51 |
ansiwen |
quits : *.net *.split |
# 05:11:52 |
diorcety1 |
quits : *.net *.split |
# 05:11:57 |
suy |
quits : *.net *.split |
# 05:11:59 |
philenotfound |
quits : *.net *.split |
# 05:26:26 |
diorcety1 |
joins #crosstool-ng |
# 05:26:26 |
suy |
joins #crosstool-ng |
# 05:26:26 |
philenotfound |
joins #crosstool-ng |
# 05:49:27 |
bhundven |
joins #crosstool-ng |
# 06:14:15 |
b_rare |
joins #crosstool-ng |
# 06:17:53 |
sh4rm4 |
quits : Ping timeout: 252 seconds |
# 06:43:57 |
sh4rm4 |
joins #crosstool-ng |
# 07:59:45 |
Virus_7 |
joins #crosstool-ng |
# 08:04:16 |
Virus_7 |
Hi guys. I'm trying to make canadian cross tool: x86_64-unknown-linux-gnu -> x86_64-w64-mingw32 -> mipsel-unknown-linux-gnu. I have faced problem with GMP: configure: error: Oops, mp_limb_t is 32 bits, but the assembler code... I have found I need to patch GMP for building mingw-w64 with this: http://garr.dl.sourceforge.net/project/mingw-w64/mingw- |
# 08:04:16 |
Virus_7 |
w64/Toolchain%20patches/gmp-4.3.2-w64.patch |
# 08:04:30 |
Virus_7 |
How I should apply the patch? |
# 08:29:09 |
Virus_7 |
quits : Changing host |
# 08:29:09 |
Virus_7 |
joins #crosstool-ng |
# 08:43:22 |
b_rare |
quits : Quit: leaving |
# 09:23:04 |
silviof |
joins #crosstool-ng |
# 09:36:57 |
smartin_ |
joins #crosstool-ng |
# 10:08:13 |
Virus_7 |
quits : Quit: http://www.kiwiirc.com/ - A hand crafted IRC client |
# 10:16:40 |
silviof |
Hi, I have seen that the 00-LATEST-is entry on http://crosstool-ng.org/download/crosstool-ng/ points to 1.18. |
# 10:53:06 |
y_morin |
joins #crosstool-ng |
# 11:15:12 |
smartin_ |
quits : Quit: leaving |
# 11:35:12 |
suy_ |
joins #crosstool-ng |
# 11:37:04 |
philenot1ound |
joins #crosstool-ng |
# 11:42:20 |
diorcety1 |
quits : *.net *.split |
# 11:42:21 |
silviof |
quits : *.net *.split |
# 11:42:23 |
suy |
quits : *.net *.split |
# 11:42:26 |
philenotfound |
quits : *.net *.split |
# 11:42:28 |
y_morin |
quits : *.net *.split |
# 11:42:32 |
bhundven |
quits : *.net *.split |
# 11:47:27 |
y_morin |
joins #crosstool-ng |
# 11:49:05 |
silviof |
joins #crosstool-ng |
# 11:56:27 |
suy_ |
is now known as: suy |
# 11:56:31 |
mingwandroid |
joins #crosstool-ng |
# 12:03:31 |
bhundven |
joins #crosstool-ng |
# 12:03:31 |
diorcety |
joins #crosstool-ng |
# 12:06:45 |
pat____ |
joins #crosstool-ng |
# 12:07:14 |
pat____ |
greetings.. |
# 12:53:33 |
diorcety |
quits : Read error: Connection reset by peer |
# 12:57:19 |
silviof |
parts #crosstool-ng |
# 12:59:23 |
sh4rm4 |
quits : Ping timeout: 252 seconds |
# 13:00:14 |
diorcety |
joins #crosstool-ng |
# 13:03:38 |
sh4rm4 |
joins #crosstool-ng |
# 13:05:54 |
pat____ |
quits : Quit: --> this way. \o/ |
# 13:12:59 |
Virus_7 |
joins #crosstool-ng |
# 13:14:17 |
Virus_7 |
Hi. I'm trying to Build a toolchain for: build = x86_64-unknown-linux-gnu host = x86_64-w64-mingw32 target = mipsel-unknown-linux-gnu |
# 13:14:32 |
Virus_7 |
I have problems with cross-gdb and expat |
# 13:15:05 |
Virus_7 |
configure: error: expat is missing or unusable |
# 13:15:25 |
Virus_7 |
I have already installed libexpat1-dev on my system |
# 13:15:58 |
Virus_7 |
Do you know how I can workaround this problem? |
# 13:28:17 |
mingwandroid |
cross-gcc is for the host AFAIK. |
# 13:28:39 |
mingwandroid |
so you'd need an expat for Windows. The GDB side of things needs some work IMHO .. |
# 13:28:53 |
Virus_7 |
that's waht i fought |
# 13:29:09 |
mingwandroid |
Virus_7: Do you need GDB? |
# 13:29:11 |
Virus_7 |
You think I should compile static expat for windows? |
# 13:29:23 |
Virus_7 |
Yes I need gdb :) |
# 13:30:04 |
mingwandroid |
Virus_7: well, if you do, then you need to put it where the x86_64-w64-mingw32 compiler will try to look for it of course (or maybe add extra CFLAGS/LDFLAGS) |
# 13:31:41 |
mingwandroid |
Virus_7: IMHO crosstool-ng *should* do this for you, so you could try to alter 300-gdb.sh to fix it correctly. |
# 13:34:12 |
Virus_7 |
is there is config option to enable static expat building? |
# 13:34:42 |
Virus_7 |
|
# 13:34:48 |
Virus_7 |
So it is building |
# 13:34:55 |
Virus_7 |
and it takes about 45 minutes |
# 13:36:57 |
mingwandroid |
Virus_7: http://paste.kde.org/pzpjwdhpx |
# 13:37:25 |
mingwandroid |
Virus_7: (from 300-gdb.sh) .. here you can see a problem. expat is only needed for native GDB. |
# 13:39:49 |
Virus_7 |
should I recompile ct-ng afetr changing 300-gdb? or I can just continue with build? |
# 13:46:49 |
y_morin |
mingwandroid: I am not very fond of adding expat for the host of the toolchain |
# 13:47:04 |
y_morin |
mingwandroid: Normally, the host libraries should be part of the host "SDK". |
# 13:47:27 |
mingwandroid |
y_morin: yes, well, Windows doesn't have much of a host SDK of course. |
# 13:47:31 |
y_morin |
mingwandroid: If we were to build expat for the host, then what would happen if the host later has its own version? |
# 13:47:46 |
mingwandroid |
y_morin: we're trying to fix that that with MSYS2 .. |
# 13:48:06 |
y_morin |
mingwandroid: We're speaking about canadian-cross in a generic sense. Windows is only one of the possible hosts. |
# 13:48:07 |
mingwandroid |
y_morin: for GDB I would tend to stick with static expat and static ncurses on Windows. |
# 13:49:22 |
mingwandroid |
y_morin: problem as I see it is, you do a canadian build and the build will fail at cross-gdb, then you need to fix up an expat and a ncurses build, then continue the build. |
# 13:50:04 |
mingwandroid |
y_morin: would static linkage not satisfy your objection? |
# 13:50:17 |
y_morin |
mingwandroid: There is not much we can do about this. We can not look for mcurses/expat at (ct-ng's) ./configure time, since we don't yet know whether we'll be cros or canadian. |
# 13:50:50 |
y_morin |
mingwandroid: Static: yes, but it's just weirs that for this host library we build it. |
# 13:51:17 |
y_morin |
mingwandroid: Note: this is a statement on principle. We can look into it, of course. |
# 15:09:37 |
mingwandroid_ |
joins #crosstool-ng |
# 15:12:16 |
mingwandroid |
quits : Ping timeout: 264 seconds |
# 15:15:35 |
mingwandroid_ |
quits : Remote host closed the connection |
# 15:26:32 |
Virus_7 |
parts #crosstool-ng |
# 15:27:40 |
Virus_7 |
joins #crosstool-ng |
# 15:36:59 |
mingwandroid |
joins #crosstool-ng |
# 16:03:50 |
doc2 |
joins #crosstool-ng |
# 16:22:06 |
blueness |
joins #crosstool-ng |
# 16:23:32 |
djerome |
quits : Quit: Leaving |
# 16:30:17 |
djerome |
joins #crosstool-ng |
# 16:32:08 |
blueness_ |
joins #crosstool-ng |
# 16:32:08 |
blueness_ |
quits : Changing host |
# 16:32:08 |
blueness_ |
joins #crosstool-ng |
# 16:32:12 |
blueness |
quits : Quit: Leaving |
# 16:34:07 |
blueness_ |
is now known as: blueness |
# 17:44:02 |
Virus_7 |
@y_morin: FYI I have compiled lipexpat1 and build went further, then there was small problem of lacking include in ser-mingw.c = winsock2.h. After fixing that, the toolset compiled. I will check it tomorrow at work. |
# 17:45:32 |
Virus_7 |
executables are operational - works on win7 x64 |
# 17:46:09 |
Virus_7 |
What kind of checks do you propose? |
# 17:58:17 |
Virus_7 |
@mingwandroid what kind of tests i should go with new toolchain? |
# 17:58:39 |
mingwandroid |
Virus_7: I don't get you? |
# 17:59:40 |
mingwandroid |
Virus_7: Presumably you have something in mind that you want to cross compile .. I'd cross compile that and see if it works on the target. If that thing has a test-suite then that's a pretty good test. |
# 17:59:51 |
Virus_7 |
I builded the toolchain which we talked earlier. Is there any tests of toolchain? |
# 18:00:20 |
Virus_7 |
test-suite? you mean gnu test-suite? |
# 18:00:35 |
mingwandroid |
there's dejagnu but I've never used it. |
# 18:00:57 |
mingwandroid |
Virus_7: for what purpose did you build the toolchain? |
# 18:02:27 |
Virus_7 |
for compiling binaries for mipsel-based 34kf MStar STB |
# 18:03:28 |
Virus_7 |
we have got mingw32 mips toolchain, but we faced 2GB limit while linking our application (in Debug mode) |
# 18:03:50 |
Virus_7 |
That's why we need mingw32-w64 mips toolchain |
# 18:04:25 |
Virus_7 |
maybe I will try to compare binaries which are produced by old toolset |
# 18:12:39 |
mingwandroid |
indeed. |
# 18:12:55 |
mingwandroid |
that would be the first thing I would try; then actual product :-) |
# 18:12:58 |
mingwandroid |
*the |
# 18:41:12 |
Virus_7 |
I have found another problem, when trying to build static version of cross-gdb: |
# 18:41:25 |
Virus_7 |
[DEBUG] ==> Executing: 'CC=gcc -static' 'LD=ld -static' '/home/build/temp/mips/.build/src/gdb-6.8a/configure' '--build=x86_64-build_unknown-linux-gnu' '--host=x86_64-host_w64-mingw32' '--target=mipsel-unknown-linux-gnu' '--prefix=/home/build/x-tools/mipsel-unknown-linux-gnu' '--with-build-sysroot=/home/build/x-tools/mipsel-unknown-linux-gnu/mipsel-unknown-linux-gnu/sysroot' '--with-sysroot=/home/build/x-tools/mipsel-unknown-lin |
# 18:41:25 |
Virus_7 |
ux-gnu/mipsel-unknown-linux-gnu/sysroot' '--disable-werror' '--enable-expat' '--with-expat=yes' '--enable-threads' '--with-python=no' '--disable-sim' '--disable-nls' |
# 18:41:48 |
sh4rm4 |
quits : Remote host closed the connection |
# 18:42:01 |
Virus_7 |
So it seems that adding -static word doesnt work as it should |
# 18:44:54 |
sh4rm4 |
joins #crosstool-ng |
# 18:46:49 |
sh4rm4 |
quits : Remote host closed the connection |
# 18:47:15 |
sh4rm4 |
joins #crosstool-ng |
# 19:50:39 |
xrl__ |
quits : Ping timeout: 330 seconds |
# 19:52:04 |
xrl___ |
joins #crosstool-ng |
# 19:57:57 |
mingwandroid |
did you configure with --disable-shared --enable-static? |
# 20:00:59 |
Virus_7 |
i have just copied here what i receive from build.log |
# 20:03:18 |
Virus_7 |
And i have found that such build doesn't work: gdb enters and goes into (gdb) select: No error. loop. i think i need to debug it |
# 20:45:23 |
sh4rm4 |
quits : Remote host closed the connection |
# 20:45:28 |
sh[4]rm4 |
joins #crosstool-ng |
# 20:59:21 |
sh[4]rm4 |
is now known as: sh4rm4 |
# 21:12:33 |
mingwandroid |
Virus_7: you could use your old GDB? the 32bit one? |
# 21:14:15 |
Virus_7 |
Propably yes. But I am very curious, why it doesn't work |
# 21:15:11 |
mingwandroid |
Virus_7: did you use ncurses? |
# 21:15:16 |
Virus_7 |
How to enable debug symbols in gdb :) |
# 21:15:27 |
mingwandroid |
CFLAGS="-O0 -ggdb" probably |
# 21:15:41 |
mingwandroid |
debugging gdb with gdb gets a bit confusing; |
# 21:15:59 |
mingwandroid |
you can get lost in the martix |
# 21:16:43 |
Virus_7 |
hmm... ncurses if they are used then some defaults from gcc-mingw32-w64 package in xubuntu |
# 22:09:48 |
Virus_7 |
building gdb-7.4.1 fixed the problem. |
# 22:18:14 |
doc2 |
quits : Remote host closed the connection |
# 23:14:59 |
Virus_7 |
quits : Ping timeout: 240 seconds |
# 23:32:41 |
xrl___ |
quits : Ping timeout: 246 seconds |
# 23:35:57 |
xrl___ |
joins #crosstool-ng |
# 23:42:57 |
y_morin |
quits : Quit: Nighty Night! |