--- Log opened Sun Nov 24 00:00:38 2013 | ||
hikenboot | QUESTION: | 02:50 |
---|---|---|
hikenboot | getting error gcc-version.sh: line 11 or1k-linux-gcc command not found however in build directory under src I find a build-x86_64-unknown-linux-gnu and a gcc directory also an or1k-elf(not that I think that matters)... | 02:51 |
hikenboot | get this when doing a make progs I have manually populated the downloads directory | 02:52 |
twilliam | hikenbboot: I am not an expert but you may need to add your toolchain bin directory to your path like export PATH=/opt/or1k-toolchain/bin:$PATH | 03:01 |
twilliam | if which or1k-linux-gcc doesn't find anything | 03:02 |
stekern | hikenboot: so have you done 'make uclibc_toolchain' by now? | 07:05 |
hikenboot | the directions indicated that I do a make newlib_toolchain OR make uclibc-toolchain...but am now in the process of doing both..thanks | 13:29 |
poke53281 | ysangkok: Do you use the ata device? | 15:01 |
poke53281 | Should not be necessary. | 15:01 |
poke53281 | I think you can exclude those lines | 15:01 |
poke53281 | or you can change the ata device to http://pastie.org/8505246 | 15:03 |
poke53281 | hikenboot: You need both toolchains to compile everything. | 15:06 |
poke53281 | or1k-elf for the kernel and or1k-linux for the rest. | 15:06 |
poke53281 | You get the or1k-linux toolchain by executing "make uclibc_toolchain" | 15:07 |
hikenboot | thanks | 18:17 |
rfajardo | hi there guys | 18:18 |
rfajardo | I am trying to compile linux with the development uclib toolchain and am getting undefined reference to _GLOBAL_OFFSET_TABLE_ for mul, div, mod, abs functions. Does anyone have a clue where should I start looking? I have compiled everything under OS X. | 18:19 |
-!- rfajardo_ is now known as rfajardo | 18:49 | |
stekern | rfajardo: yes, currently it's only possible to compile the kernel with or32-linux- or or1k-elf- toolchains | 18:50 |
rfajardo | ahh, I see | 18:51 |
rfajardo | I was revising my gcc compilation. But I still don't have the grasp of this otool tool that replaces ldd and objdump | 18:51 |
rfajardo | so, I should compile another version of the tool? | 18:52 |
stekern | otool? | 18:59 |
rfajardo | sorry, another version of gcc I was trying to say | 18:59 |
rfajardo | otool is a replacement of ldd and objdump on OS X | 18:59 |
rfajardo | but thanks for the info | 19:04 |
rfajardo | I will take a look into that | 19:04 |
stekern | the reason why it's not working with the or1k-linux-* toolchains is that it builds libgcc.a with -fPIC (and it has to do that) | 19:10 |
stekern | and our kernel port depends on libgcc | 19:11 |
poke53281 | Yeah, another problem that should be fixed. I think that not more than 3-4 lines must be fixed. | 19:29 |
poke53281 | Another option would be not to rely on ligcc and to add those missing functions directly to the kernel. | 19:31 |
rfajardo | that makes sense... let's see how successful I get with the other toolchains | 19:45 |
rfajardo | gotta go now. Thanks a lot and take care. | 19:45 |
--- Log closed Mon Nov 25 00:00:40 2013 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!