# 00:16:00 |
mnt_real |
joins #crosstool-ng |
# 01:17:48 |
mnt_real |
quits : Remote host closed the connection |
# 02:56:25 |
bhundven|afk |
is now known as: bhundven |
# 04:12:19 |
mnt_real |
joins #crosstool-ng |
# 05:14:07 |
mnt_real |
quits : Remote host closed the connection |
# 06:42:49 |
kos_tom |
joins #crosstool-ng |
# 07:09:16 |
tor |
joins #crosstool-ng |
# 09:54:20 |
y_morin |
joins #crosstool-ng |
# 10:11:24 |
y_morin |
is now known as: y_morin|away |
# 10:18:57 |
y_morin|away |
is now known as: y_morin |
# 10:35:34 |
y_morin |
is now known as: y_morin|away |
# 11:18:49 |
y_morin|away |
is now known as: y_morin |
# 11:29:03 |
y_morin |
is now known as: y_morin|away |
# 11:58:17 |
y_morin|away |
is now known as: y_morin |
# 12:28:59 |
y_morin |
is now known as: y_morin|away |
# 13:04:43 |
groton |
joins #crosstool-ng |
# 13:04:55 |
groton |
hi all |
# 13:25:17 |
mnt_real |
joins #crosstool-ng |
# 14:29:56 |
mnt_real_ |
joins #crosstool-ng |
# 14:30:22 |
mnt_real_ |
quits : Client Quit |
# 14:43:16 |
y_morin|away |
is now known as: y_morin |
# 14:44:00 |
y_morin |
is now known as: y_morin|away |
# 15:02:45 |
groton |
i tryed to install 1.12.1 but i am stuck at the configure step searching for 'libstdc++' on a linux/debian/wheezy system. Notice that i have installed libstdcxx6 (and -dev), but it says: A mandatory dependency is missing, or version mis-match: The 'libstdc++' library is needed to build gcc . Any hint? |
# 16:24:54 |
kos_tom |
quits : Quit: Leaving |
# 16:54:55 |
al` |
joins #crosstool-ng |
# 17:09:48 |
groton |
quits : Quit: Leaving. |
# 17:11:34 |
y_morin|away |
is now known as: y_morin |
# 17:36:23 |
mnt_real |
quits : Ping timeout: 252 seconds |
# 17:47:14 |
groton |
joins #crosstool-ng |
# 17:54:12 |
y_morin |
groton: hey! |
# 17:56:25 |
y_morin |
groton: can you run: gcc -print-file-name=libstdc++.so |
# 17:56:30 |
y_morin |
groton: and past the result? |
# 18:00:02 |
y_morin |
is now known as: y_morin|away |
# 18:09:48 |
kos_tom |
joins #crosstool-ng |
# 18:51:19 |
snappy |
So I created a cross compiler toolchain for the android (again), using uclibc. Trying to compile a simple hello world type program, and testing it on the android platform. |
# 18:51:38 |
snappy |
I do something like: ./bin/arm-android-linux-uclibcgnueabi-gcc -Wl,-rpath-link=...,-dynamic-linker=/system/bin/linker -o hello hello.c -- and the platform says it cannot link to libc.so.0. |
# 18:52:14 |
snappy |
hm, actually, nevermind, i guess i need to copy the libc. |
# 18:52:16 |
y_morin|away |
is now known as: y_morin |
# 18:58:48 |
bhundven |
is now known as: bhundven|afk |
# 19:08:37 |
y_morin_ |
joins #crosstool-ng |
# 19:09:23 |
al` |
quits : Ping timeout: 258 seconds |
# 19:09:31 |
y_morin |
quits : Ping timeout: 252 seconds |
# 19:09:34 |
y_morin_ |
is now known as: y_morin |
# 19:13:30 |
al` |
joins #crosstool-ng |
# 19:14:54 |
bhundven|afk |
is now known as: bhundven |
# 19:30:07 |
bhundven |
is now known as: bhundven|afk |
# 19:32:31 |
groton |
y_morin: gcc -print-file-name=libstdc++.so -> libstdc++.so |
# 19:32:57 |
y_morin |
groton: that means that your native compiler can't find libstdc++.so |
# 19:34:09 |
groton |
very strange, why is that? |
# 19:34:54 |
groton |
y_morin: the compiler version is: gcc (Debian 4.6.1-4) 4.6.1 |
# 19:35:02 |
y_morin |
groton: can you check: dpkg --get-selections |grep libstdc++ |
# 19:35:50 |
groton |
y_morin: i guess the problem is that i do not have libstdc++6-4.6-dev installed, but only the ones for gcc4.4 and for gcc4.5 |
# 19:36:19 |
y_morin |
groton: probably, yes. You have to have the libstdc++ for the compiler you are using. |
# 19:36:49 |
groton |
what is the preferred gcc version? 4.5 or 4.6? |
# 19:36:50 |
y_morin |
groton: crosstool-Ng is not ready to use a compiler that is not named 'gcc' |
# 19:37:57 |
y_morin |
groton: if your 'gcc' report "(Debian 4.6.1-4) 4.6.1", then you have to install: |
# 19:38:03 |
y_morin |
libstdc++6 |
# 19:38:19 |
groton |
well, i actually have that package already installed |
# 19:38:47 |
y_morin |
OK, I see the issue... |
# 19:39:01 |
y_morin |
groton: give a few minutes so I can check something here... |
# 19:39:02 |
groton |
http://nopaste.info/7d5e93117c.html |
# 19:39:05 |
groton |
ok |
# 19:41:35 |
y_morin |
groton: OK, I now better understand the issue: |
# 19:43:52 |
y_morin |
groton: to check libstdc++ availability, we ask gcc, with: gcc -print-file-name=libstdc++.so |
# 19:44:23 |
y_morin |
groton: the issue is, that 'libstdc++.so' is not available if the devel package is not installed. |
# 19:45:42 |
groton |
y_morin: just to let you know, i have nor g++-4.6 nor libstdc++6-4.6-dev installed |
# 19:46:22 |
y_morin |
groton: yes, the issue is that, even if libstdc++6 is installed, we don't find it. |
# 19:46:30 |
groton |
ok |
# 19:46:52 |
y_morin |
groton: ./configure is borked in this respect. |
# 19:47:02 |
y_morin |
groton: workaround for now: install the -dev package. |
# 19:47:19 |
y_morin |
groton: insbuild-essential, it pulls everything. |
# 19:47:24 |
y_morin |
Ermmm. |
# 19:47:35 |
groton |
y_morin: it worked now |
# 19:47:37 |
y_morin |
groton: I meant: install built-essential, |
# 19:48:00 |
groton |
i just installed g++-4.6 and libstdc++6-4.6 and at least the configuration step went just fine |
# 19:48:33 |
y_morin |
groton: that's the way to work around the issue... |
# 19:48:36 |
y_morin |
for now... |
# 19:48:49 |
groton |
y_morin: many thanks for your work and your support also! I hope to stick with this tool chain builder for a long time :) |
# 19:48:54 |
y_morin |
Cheer! |
# 20:13:47 |
mnt_real |
joins #crosstool-ng |
# 20:15:21 |
y_morin |
groton: well, in fact, that's not really an issue. We *do* need to check for libstdc++.so because we will have to link with -lstdc++ at some point. |
# 20:15:51 |
y_morin |
groton: so, even if the _runtime_ libstdc++ is iinstalled, ld would not find the library at link time. |
# 20:16:17 |
y_morin |
groton: so the 'devel' package is always needed |
# 20:17:31 |
groton |
y_morin: ok |
# 20:21:52 |
snappy |
y_morin: do you know of a way to pull the correct information for march/mtune/etc. when constructing a toolchain from an existing system running Linux? I seem to be a bit lost with all the different ARM chipsets |
# 20:22:19 |
y_morin |
snappy: cat /proc/cpuinfo |
# 20:22:40 |
y_morin |
snappy: then, search wikipedia for the corresponding settings? ;-) |
# 20:22:50 |
y_morin |
Hehe! :-) |
# 20:22:59 |
snappy |
i'll give it a shot |
# 20:23:01 |
snappy |
didnt think about that to be honest. |
# 20:23:20 |
y_morin |
snappy: seriously now, /proc/cpuinfo should give you the answer |
# 20:23:32 |
y_morin |
but you may have to translate that into gcc jargon. |
# 20:23:42 |
snappy |
word |
# 20:23:55 |
y_morin |
snappy: ? |
# 20:23:57 |
snappy |
i think i got some info from a TI OMAP processor, and it didn't like the android emulator ARM chipset |
# 20:24:06 |
snappy |
y_morin: "word" as in, "I acknowledge" :) |
# 20:24:20 |
y_morin |
Ah, OK. |
# 20:24:39 |
y_morin |
TI OMAP: probably cortex-a8, and armv7 |
# 20:24:56 |
y_morin |
(which is tune, which is cpu, shich is arch, I don't recall.... man gcc) |
# 20:31:58 |
bhundven|afk |
is now known as: bhundven |
# 21:04:40 |
al`_ |
joins #crosstool-ng |
# 21:04:44 |
groton |
quits : Quit: Leaving. |
# 21:05:41 |
al` |
quits : Ping timeout: 240 seconds |
# 21:12:11 |
tor |
quits : Quit: Ex-Chat |
# 21:44:41 |
y_morin |
snappy: so, yes, I'd like to add llvm/clang to crosstool-NG, but I have to get up to speed with that. |
# 21:44:56 |
y_morin |
snappy: I still did not get time to look at how it all fits together... |
# 21:46:08 |
y_morin |
snappy: and last I discussed with the developpers, llvm/clang was not ready for generating a cross-compiler, IIRC. |
# 21:47:53 |
xvilka |
snappy: which omap |
# 21:48:02 |
xvilka |
i have exp. with them |
# 21:48:16 |
y_morin |
xvilka: it's been resolved on the #uclibc channel |
# 21:48:25 |
xvilka |
ah. ok. |
# 21:48:34 |
y_morin |
xvilka: thanks! :-) |
# 21:55:56 |
snappy |
xvilka: i think i emailed you (after looking at a post on android forums), sent me to the droid wiki |
# 21:56:07 |
snappy |
taking your configs and trying to get them to work for the emulator. |
# 21:56:40 |
snappy |
1 |
# 22:22:46 |
kos_tom |
quits : Quit: Leaving |
# 22:43:29 |
y_morin |
quits : Quit: Quitting... |
# 23:35:34 |
snappy |
hm, is the mtune/mcpu stuff necessary? |
# 23:42:37 |
al` |
joins #crosstool-ng |
# 23:43:22 |
al`_ |
quits : Ping timeout: 246 seconds |