# 06:06:23 |
vpelletier |
joins #crosstool-ng |
# 06:09:20 |
imMute |
quits : Ping timeout: 272 seconds |
# 06:13:08 |
vpelletier |
hi. I'm using crosstool-ng-1.15.2 to build a crosstoolchain host=build=amd64, target=arm. I'm getting an error during "Installing C library headers & start files": http://pastebin.com/pK2cgyUD |
# 06:14:00 |
vpelletier |
do_libc_backend[scripts/build/libc/glibc-eglibc.sh-common@106] is this: |
# 06:14:10 |
vpelletier |
multilibs=( $("${CT_TARGET}-gcc" -print-multi-lib 2>/dev/null) ) |
# 06:14:50 |
vpelletier |
and from build.log: |
# 06:14:52 |
vpelletier |
CT_TARGET=arm-unknown-linux-gnueabi |
# 06:15:15 |
vpelletier |
So I believe there is a bug, "${CT_TARGET}-gcc" cannot be run on amd64 |
# 06:15:35 |
vpelletier |
am I misunderstanding something ? |
# 06:16:23 |
vpelletier |
like, is it required to have qemu-user (or so) plus binutils to cross-execute arm binaries ? |
# 06:16:39 |
vpelletier |
s/binutils/binfmt-supprt/ |
# 07:15:57 |
haluk |
joins #crosstool-ng |
# 07:26:25 |
haluk |
Cubox: I have read the logs of yesterday |
# 07:26:48 |
haluk |
Cubox: I am also trying to build a crosscompiler on mac os |
# 07:27:09 |
haluk |
Cubox: On those latest airs :) |
# 07:34:19 |
haluk |
Cubox: I didn't have any problem with sed except having to change configure script of the crosstool-ng itself. |
# 07:34:46 |
haluk |
Cubox: I wasn't aware of --with-sed at that time :/ |
# 07:36:13 |
haluk |
Cubox: I have a gettext problem with eglibc-2.13 though |
# 07:36:57 |
haluk |
It looks for libintl.h and can't find it |
# 07:37:11 |
haluk |
Cubox: Did you have this problem? |
# 07:37:31 |
smartin |
joins #crosstool-ng |
# 09:09:11 |
haluk |
quits : Ping timeout: 245 seconds |
# 09:54:48 |
vpelletier |
quits : Quit: leaving |
# 09:59:19 |
haluk |
joins #crosstool-ng |
# 11:06:16 |
haluk |
quits : Ping timeout: 245 seconds |
# 11:51:47 |
y_morin |
joins #crosstool-ng |
# 12:50:40 |
Cubox |
[ALL ] In file included from ../sysdeps/unix/sysv/linux/syslog.c:10: |
# 12:50:40 |
Cubox |
[ALL ] ../misc/syslog.c: In function '__vsyslog_chk': |
# 12:50:41 |
Cubox |
[ALL ] ../misc/syslog.c:123: sorry, unimplemented: inlining failed in call to 'syslog': function body not available |
# 12:50:42 |
Cubox |
[ALL ] ../misc/syslog.c:155: sorry, unimplemented: called from here |
# 12:50:43 |
Cubox |
>.< |
# 12:51:56 |
Cubox |
y_morin: hey |
# 12:52:54 |
Cubox |
it's this file |
# 12:52:55 |
Cubox |
../sysdeps/unix/sysv/linux/syslog.c |
# 13:33:46 |
smartin |
quits : Ping timeout: 245 seconds |
# 15:30:53 |
Cubox |
y_morin: hmmmmm |
# 15:31:07 |
Cubox |
y_morin: comme l'avait dit haluk, j'ai un problème de .h |
# 15:31:16 |
Cubox |
rpc_main.c:40:21: error: libintl.h: No such file or directory |
# 15:31:22 |
y_morin |
Cubox: in english, please. |
# 15:31:47 |
Cubox |
(sorry) Is this .h on my system, or downloaded by ct-ng ? |
# 15:38:58 |
y_morin |
Cubox: no idea, I never had this issue. Care to post your .config on some pastebin so I can try here on Linux? |
# 15:39:50 |
Cubox |
hmm |
# 15:40:00 |
Cubox |
haluk says it's a macoxs issue ony |
# 15:40:01 |
Cubox |
ly |
# 15:40:23 |
Cubox |
haluk | Cubox: I am also trying to build a crosscompiler on mac o |
# 15:40:34 |
Cubox |
haluk | Cubox: I have a gettext problem with eglibc-2.13 though |
# 15:40:35 |
Cubox |
haluk | It looks for libintl.h and can't find it |
# 15:40:36 |
Cubox |
haluk | Cubox: Did you have this problem? |
# 15:41:18 |
Cubox |
y_morin: btw, need ability to recover an build, if failed, instead of reinstalling all the packages... |
# 15:41:26 |
y_morin |
Cubox: nonetheless, I can still look at the build log to see what's going on, and what is expected, so I can see what is missing on your side. |
# 15:42:11 |
y_morin |
Cubox: it's explained in the docs. ;-p |
# 15:42:27 |
y_morin |
Cubox: See: docs/4 - Building the toolchain.txt |
# 15:42:59 |
Cubox |
y_morin: >.< |
# 15:43:13 |
Cubox |
y_morin: thanks, i'v lost like... 4houres ? |
# 15:43:20 |
Cubox |
uploading build.log |
# 15:43:22 |
Cubox |
and .config |
# 15:43:44 |
y_morin |
Cubox: the stop+restart does not work if you change the configuration, though. |
# 15:44:39 |
Cubox |
okey |
# 16:04:37 |
Cubox |
y_morin: http://cubox.me/files/build.log |
# 16:04:41 |
Cubox |
y_morin: http://cubox.me/filesconfig |
# 16:04:44 |
Cubox |
y_morin: http://cubox.me/files/config |
# 16:04:47 |
Cubox |
voilà |
# 16:06:02 |
y_morin |
Cubox: that's a ct-ng 1.9.3 .config file? |
# 16:06:05 |
Cubox |
btw, in list-steps, i hesitate between some of options for Installing C library |
# 16:06:09 |
Cubox |
y_morin: y |
# 16:06:11 |
y_morin |
Pretty old, nowadays... |
# 16:06:18 |
Cubox |
huh |
# 16:06:29 |
Cubox |
wtf |
# 16:06:37 |
Cubox |
hmm |
# 16:06:42 |
Cubox |
OKey, lets update this >.< |
# 16:07:20 |
y_morin |
Cubox: You're using a custom kernel location, so I can not build the same tolchain... |
# 16:07:35 |
Cubox |
y_morin: hmm |
# 16:07:51 |
Cubox |
download the .tar.gz of http://github.com/rabeeh/linux/ |
# 16:07:57 |
Cubox |
this is the same |
# 16:12:28 |
Cubox |
y_morin: btw, now, configure: WARNING: unrecognized options: --with-objcopy, --with-objdump, --with-readelf |
# 16:13:31 |
y_morin |
Yes, these options are gone. |
# 16:15:02 |
y_morin |
Hmmm. If at least you had gzipped the build.log... :-/ |
# 16:15:10 |
Cubox |
y_morin: sorry :/ |
# 16:15:38 |
Cubox |
done y_morin build.log.tgz ;) |
# 16:15:46 |
y_morin |
I already got it... |
# 16:15:49 |
Cubox |
ok |
# 16:16:01 |
Cubox |
y_morin: how can i do without these options ? |
# 16:16:44 |
y_morin |
Back to your libintl.h issue: your system lacks this header. It should be present on your system. |
# 16:16:51 |
Cubox |
okey |
# 16:17:02 |
Cubox |
I will manually put it (dirty, I know) |
# 16:17:38 |
y_morin |
Cubox: I have absolutely no idea on how MacOS should behave, so all I can say is that your build.log contains: |
# 16:18:13 |
y_morin |
gcc rpc_main.c -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ [--SNIP-long-line--] |
# 16:18:19 |
y_morin |
rpc_main.c:40:21: error: libintl.h: No such file or directory |
# 16:18:35 |
y_morin |
This is native compilation, so uses your system's headers and libs. |
# 16:20:44 |
y_morin |
Cubox: also, hard-float with VFPv3 is not supported (gcc whines) |
# 16:20:48 |
Cubox |
okey |
# 16:21:08 |
y_morin |
sighs... ntfs-3g is slooowwwwwww... :-( |
# 16:22:03 |
Cubox |
y_morin: two questions, 1) How can i do for copyobj and the others ? |
# 16:22:25 |
Cubox |
2) I seems have see hard float enabled on my cubox |
# 16:22:33 |
Cubox |
I don't really understand :/ |
# 16:22:55 |
Cubox |
on my gentoo i use this CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" |
# 16:23:00 |
y_morin |
Cubox: what's your need for objcopy and objdump? |
# 16:23:14 |
Cubox |
y_morin: it's in /opt/local/bin/gobjcopy |
# 16:23:25 |
Cubox |
but, if there is no more --with-objcopy :/ |
# 16:23:34 |
y_morin |
Gah... Silly MacOS strikes again... :-( |
# 16:23:50 |
Cubox |
:) |
# 16:24:15 |
Cubox |
#blamesteevejobs |
# 16:24:27 |
y_morin |
Cubox: it should now be autodetected (since we've switched to a real autoconf-ed ./configure). |
# 16:24:38 |
Cubox |
CHOST="armv7a-hardfloat-linux-gnueabi" (on my gentoo too) |
# 16:24:44 |
Cubox |
y_morin: hmmmmm |
# 16:24:48 |
Cubox |
y_morin: but it's not :/ |
# 16:24:56 |
y_morin |
Sigh... |
# 16:25:17 |
y_morin |
Anyway, I've got stuff to prepare for tonight, I'll have to go shortly... :-( |
# 16:25:35 |
y_morin |
Cubox: a workaround would be to set something like: |
# 16:25:54 |
y_morin |
ac_cv_objcopy=/pah/to-gobjcopy ./configure blabla |
# 16:26:02 |
y_morin |
Ditto with objdump and the likes. |
# 16:26:45 |
y_morin |
Cubox: real varaible name is: ac_cv_prog_OBJCOPY |
# 16:27:03 |
y_morin |
adapt for objdump, ... |
# 16:27:17 |
y_morin |
Got to go now (GF is calling!) |
# 16:27:46 |
Cubox |
ok |
# 16:27:53 |
Cubox |
ME too, Dog to go out |
# 16:27:56 |
Cubox |
Bye |
# 16:27:59 |
y_morin |
Cheers! |
# 16:28:34 |
y_morin |
quits : Quit: Quitting... |
# 19:55:27 |
madmac2501 |
joins #crosstool-ng |
# 21:14:23 |
madmac2501 |
quits : Quit: Ex-Chat |