ibotlog2html for #crosstool-ng

<< Previous 2011-07-08 Next >>

# 00:32:05 sh4rm4 joins #crosstool-ng
# 00:32:46 sh4rm4 hi... i just built a mips toolchain with uclibc... when i launch the compiled gcc from ./build, it doesn't find crti.o
# 00:32:55 sh4rm4 and that file isn't around, it seems
# 00:43:56 leming you need to run from where the toolchain is installed
# 00:44:19 leming its final destination, not the working directories for the build
# 00:48:36 sh4rm4 ct-ng install
# 00:48:36 sh4rm4 make: *** No rule to make target `install'. Stop.
# 00:50:11 sh4rm4 how am i supposed to get it to its final destination ?
# 00:51:36 leming it's specified in your config, and installs there once 'ct-ng build' is successful
# 00:51:59 sh4rm4 means i have to run ct-ng build as root ?
# 00:52:25 leming no
# 00:52:30 leming default location is ${HOME}/x-tools/${CT_TARGET}
# 00:53:24 sh4rm4 ah, nice. i thought i changed that to /opt/crosstool
# 00:55:28 sh4rm4 ~/x-tools> find . -name crti.o
# 00:55:28 sh4rm4 ~/x-tools>
# 00:55:33 sh4rm4 same :/
# 00:55:51 leming no, run gcc from within that installation directory
# 00:56:10 sh4rm4 mips-unknown-linux-uclibc/bin/mips-unknown-linux-uclibc-cc /tmp/test.c
# 00:56:16 sh4rm4 like that io suppose ?
# 00:56:30 leming changing your path works as well
# 00:56:59 leming i also have a short bash script to add symlinks for regular 'gcc' 'g++' etc naming
# 00:57:37 sh4rm4 ok... but that doesnt solve the missing crti.o
# 00:57:50 leming do you still get the error running it from there?
# 00:57:57 sh4rm4 yes
# 00:58:19 leming odd
# 00:58:41 sh4rm4 in the uclibc src folder there's a crti.S file for mips
# 00:58:50 sh4rm4 but no .o ...
# 01:04:45 sh4rm4 find . -name 'crt*'
# 01:04:45 sh4rm4 ./mips-unknown-linux-uclibc/mips-unknown-linux-uclibc/sysroot/usr/lib/crt1.o
# 01:05:08 sh4rm4 crt1.o is built... weird
# 01:30:19 sh4rm4 i compiled the two missing .o files manually, now i get:
# 01:30:20 sh4rm4 /home/rofl/x-tools/mips-unknown-linux-uclibc/mips-unknown-linux-uclibc/sysroot/usr/lib/crtn.o: In function `_fbss':
# 01:30:20 sh4rm4 (*ABS*+0x4100d0): multiple definition of `_fbss'
# 01:30:32 sh4rm4 and similar stuff
# 01:31:27 sh4rm4 can i generate an empty .o file to replace that one ?
# 01:38:26 sh4rm4 HA! works now
# 01:38:43 sh4rm4 the error was using -o crti.o instead of -c
# 01:40:10 sh4rm4 why crosstool didnt build the two files will remain a secret...
# 03:47:07 sh4rm4 hmpf... in the end i get "illegal instruction"
# 03:49:56 bhundven|afk something sounds f'd
# 03:50:02 bhundven|afk is now known as: bhundven
# 03:50:22 bhundven can you post your config for ct-ng and uclibc and your build log somewhere?
# 03:52:50 bhundven sh4rm4: it should be doing -o crti.o
# 03:53:03 bhundven that is the output file.
# 03:54:28 sh4rm4 second.... the log is huge...
# 03:58:05 sh4rm4 https://github.com/downloads/rofl0r/cluts/log.tar.bz2
# 03:58:58 sh4rm4 do you require config/ or config.gen/ ?
# 04:07:57 bhundven .config
# 04:08:13 bhundven and your uclibc .config
# 04:08:57 sh4rm4 http://pastie.org/2181153
# 04:09:07 sh4rm4 uclibc config is inside the tarball
# 04:10:33 bhundven o32
# 04:10:53 bhundven do you have a good reason for using that? instead of n32?
# 04:11:40 sh4rm4 hmm, i selected MIPS I legacy instruction set
# 04:12:01 sh4rm4 to be compatible to all CPUs
# 04:12:02 bhundven o32 is just the old abi, n32 is the new abi.
# 04:12:34 sh4rm4 so n32 should work?
# 04:12:39 sh4rm4 the cpu is pretty old
# 04:13:03 sh4rm4 from what i have found out, it even has no MMU
# 04:13:28 bhundven right, I don't think my cavium box has an mmu
# 04:13:53 bhundven and I know my ip22 doesn't
# 04:14:24 bhundven at anyrate, it's just the abi.
# 04:14:29 bhundven n32 should be fine
# 04:14:38 bhundven but. I was just asking
# 04:14:40 bhundven that's not the problem
# 04:14:51 sh4rm4 ah ok
# 04:15:31 bhundven good luck getting ada working :-P
# 04:15:44 sh4rm4 lol i only need C
# 04:15:51 bhundven I would probably turn off all extra languages but c++ until you get a compiler working
# 04:16:01 bhundven makes things simpler ;)
# 04:16:18 sh4rm4 i thought i did that ;)
# 04:16:53 bhundven haha, I was looking at the:
# 04:16:55 bhundven CT_CC_SUPPORT_CXX=y
# 04:16:55 bhundven CT_CC_SUPPORT_FORTRAN=y
# 04:16:55 bhundven CT_CC_SUPPORT_JAVA=y
# 04:16:55 bhundven CT_CC_SUPPORT_ADA=y
# 04:16:57 bhundven CT_CC_SUPPORT_OBJC=y
# 04:17:00 bhundven CT_CC_SUPPORT_OBJCXX=y
# 04:17:05 bhundven nm... I am getting tired.
# 04:17:22 sh4rm4 yeah. it seems i should read that file the next time after menuconfig
# 04:18:39 bhundven weird
# 04:19:23 sh4rm4 what?
# 04:20:29 bhundven [ALL ] libc/sysdeps/linux/mips/crt1.S: Assembler messages:
# 04:20:29 bhundven [ALL ] libc/sysdeps/linux/mips/crt1.S:117: Warning: No .cprestore pseudo-op used in PIC code
# 04:20:32 bhundven [ALL ] AS lib/Scrt1.o
# 04:21:07 sh4rm4 ah. i disabled PIC code
# 04:21:31 bhundven so
# 04:21:38 sh4rm4 since i wanted only to create static libs
# 04:21:58 bhundven if you try making a simple hello world program, can you build it statically?
# 04:22:28 bhundven /bin/-gcc -static -o test test.c
# 04:22:29 sh4rm4 yeah, it works if i have my self-compiled crt*.o
# 04:22:43 bhundven wtf did you get that?
# 04:22:57 bhundven how did you build it?
# 04:23:16 sh4rm4 i compiled them using mips-unknown-linux-uclibc/bin/mips-unknown-linux-uclibc-cc -c /path/to/crti.S
# 04:23:51 bhundven http://lists.uclibc.org/pipermail/uclibc/2010-January/043524.html
# 04:23:54 sh4rm4 then moved em to the dir where crt1.o resides
# 04:24:07 bhundven so it looks like this guy's build has crti.o
# 04:24:22 bhundven >> libc/sysdeps/linux/mips/crt1.S: Assembler messages:
# 04:24:23 bhundven >> libc/sysdeps/linux/mips/crt1.S:134: Warning: No .cprestore pseudo-op
# 04:24:26 bhundven >> used in PIC code
# 04:24:28 bhundven cause it's building it.
# 04:25:22 sh4rm4 crt1 != crti
# 04:25:29 bhundven :-P
# 04:25:32 bhundven again... tired
# 04:25:47 bhundven I'm still at work (-0800 PST) and have been here since 8:30am
# 04:26:04 bhundven u-boot is not cooperating with me
# 04:26:29 sh4rm4 on MIPS as well ?
# 04:26:39 bhundven nah, freescale/ppc
# 04:26:54 bhundven trying to move our stuff from jffs2 to ubifs
# 04:26:57 bhundven pita
# 04:27:41 bhundven ok. well. I got your configs and stuff. I'm gonna head home, and I'll try building it.
# 04:28:03 bhundven see if I can repro the problem and try to figure out wtf went wrong.
# 04:28:18 sh4rm4 oh cool
# 04:28:43 sh4rm4 i used a fresh checkout from hg
# 04:28:50 bhundven I should probably stop being such a (e)glibc biggot and start playing with uclibc anyways.
# 04:29:02 sh4rm4 btw, do you know musl libc ?
# 04:29:21 bhundven musl? never heard of it.
# 04:29:43 sh4rm4 http://www.etalabs.net/musl/
# 04:30:09 sh4rm4 as of now, it's still lacking MIPS support
# 04:30:23 sh4rm4 but it works great on intel
# 04:31:02 bhundven wonder how often they update that chart.
# 04:31:11 sh4rm4 pretty recently
# 04:31:36 sh4rm4 dalias just implemented a dynamic loader one or two weeks ago
# 04:31:48 bhundven hmm
# 04:31:49 sh4rm4 and updated the chart
# 04:32:06 bhundven looks interesting.
# 04:32:18 bhundven I'll bug yann about it
# 04:32:37 sh4rm4 nice :)
# 04:33:04 bhundven http://git.etalabs.net/ - Server not found
# 04:33:06 bhundven eh
# 04:33:10 sh4rm4 git://
# 04:33:26 bhundven http://git.etalabs.net/cgi-bin/gitweb.cgi
# 04:34:05 sh4rm4 http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl <- works for me
# 04:35:16 bhundven huh. probably this stupid network at my office
# 04:35:30 bhundven ok. well. leaving work.
# 04:35:38 sh4rm4 heh
# 04:35:38 bhundven I'll be home in an hour
# 04:35:45 sh4rm4 ok
# 04:36:00 sh4rm4 maybe i'll be still awaken then...
# 04:36:02 bhundven (I work for a fw company, so... network is always f'd)
# 04:36:19 sh4rm4 (it's 6:30 am here...)
# 04:36:34 bhundven oh. ok. where is that?
# 04:36:41 sh4rm4 switzerland
# 04:37:07 bhundven nice. I was there two years ago. wish I could move there.
# 04:37:13 bhundven I'm in seattle, wa, usa
# 04:37:42 sh4rm4 yeah, i guess its more peaceful around here
# 04:37:58 bhundven bbiab
# 04:38:02 sh4rm4 ok
# 04:38:02 bhundven is now known as: bhundven|afk
# 05:31:47 mnt_real quits : Remote host closed the connection
# 05:53:55 fishey11 joins #crosstool-ng
# 05:54:52 fishey12 joins #crosstool-ng
# 05:57:09 fishey1 quits : Ping timeout: 264 seconds
# 05:58:19 fishey11 quits : Ping timeout: 252 seconds
# 05:59:30 bhundven|afk is now known as: bhundven
# 06:09:40 bhundven sh4rm4: what is your build host?
# 06:10:15 sh4rm4 suse x64
# 06:13:59 sh4rm4 using gcc 4.5.0
# 06:14:38 bhundven cool. just wanted to make sure you weren't building on windows or mac. we still have some problems there ;)
# 06:14:56 sh4rm4 i created the ulibc config file with uclibcs make menuconfig
# 06:15:08 bhundven ok
# 06:15:23 sh4rm4 i saw that they reference a kernel directory
# 06:15:30 sh4rm4 using /usr/lib iirc
# 06:15:41 sh4rm4 could that be the problem ?
# 06:15:54 bhundven where?
# 06:16:37 sh4rm4 KERNEL_HEADERS="/usr/include"
# 06:16:50 sh4rm4 in uclibc.config (inside the tarball i posted)
# 06:17:12 bhundven hmm. that's not right
# 06:17:36 sh4rm4 yeah i guessed so too
# 06:17:53 bhundven oh
# 06:17:54 bhundven wait
# 06:17:56 sh4rm4 i chose 2.6.29 or so in ct-ng menuconfig
# 06:18:00 bhundven that's realtive to the sysroot
# 06:18:08 sh4rm4 ah, ok
# 06:34:30 kos_tom joins #crosstool-ng
# 06:36:09 bhundven sh4rm4: building
# 06:36:52 sh4rm4 cool. thanks for looking into that
# 06:37:08 bhundven np. it's probably something silly
# 07:01:36 bhundven /home/bryan/x-tools/mips-unknown-linux-uclibc/lib/gcc/mips-unknown-linux-uclibc/4.4.6/../../../../mips-unknown-linux-uclibc/bin/ld: crti.o: No such file: No such file or directory
# 07:01:40 bhundven collect2: ld returned 1 exit status
# 07:02:35 sh4rm4 at least reproducable...
# 07:02:49 bhundven I gotta finish some work for another job.
# 07:03:08 bhundven I'll pm you to get contact info, and I mess around with this a little more later.
# 07:03:23 sh4rm4 ok fine
# 07:03:25 sh4rm4 thanks
# 07:04:31 sh4rm4 gonna sleep a bit... log is active
# 07:07:10 bhundven is now known as: bhundven|afk
# 07:16:24 y_morin joins #crosstool-ng
# 07:27:52 bhundven|afk is now known as: bhundven
# 07:35:35 Buglouse quits : Ping timeout: 260 seconds
# 09:55:35 bhundven is now known as: bhundven|afk
# 10:07:38 kos_tom quits : Quit: Leaving
# 11:09:56 y_morin quits : Ping timeout: 252 seconds
# 16:37:44 kos_tom joins #crosstool-ng
# 17:13:20 kos_tom quits : Ping timeout: 252 seconds
# 17:51:50 kos_tom joins #crosstool-ng
# 18:40:44 bhundven|afk is now known as: bhundven
# 19:31:01 y_morin joins #crosstool-ng
# 19:35:19 y_morin quits : Remote host closed the connection
# 19:37:03 y_morin joins #crosstool-ng
# 19:37:13 y_morin quits : Remote host closed the connection
# 19:59:10 bhundven is now known as: bhundven|afk
# 20:06:26 y_morin joins #crosstool-ng
# 20:09:49 mnt_real joins #crosstool-ng
# 20:11:22 y_morin_ joins #crosstool-ng
# 20:11:23 y_morin_ is now known as: y_morin|away
# 20:13:46 y_morin|away is now known as: y_morin_
# 20:14:24 y_morin quits : Ping timeout: 240 seconds
# 21:53:34 y_morin_ is now known as: y_morin
# 22:32:45 y_morin quits : Remote host closed the connection
# 22:54:48 bhundven|afk is now known as: bhundven
# 23:33:59 sh4rm4 what for stands the -el suffix ? i.e. mipsel, armel
# 23:42:48 kos_tom little endian
# 23:42:54 kos_tom el = endian little
# 23:43:25 kos_tom generally, no-one talks about armel, but only arm (which is little endian) and there is armeb (which is the usage of ARM in big endian)
# 23:45:07 sh4rm4 ah, good to know, thanks

Generated by ibotlog2html by Yann E. MORIN