IRC logs for #openrisc Tuesday, 2011-12-13

Franck__as I'm not a toochain/gcc expert, could you tell me why I get a __muldi3 not defined with the or32 compiler ?01:14
Franck__until now I used a libgcc.c file with those function01:15
Franck__but it seems I have a problem with u64 arithmetic using the libgcc I have in my barebox arch subdir01:15
Franck__I thought those arithmetics function are provided by gcc....01:16
Jiahi all07:11
Jiawhen I run Linux using or1ksim07:11
Jiait stoped at "Configuring loopback device"07:11
Jiaand no xterm startup.07:12
Jiachannel = "tcp:10084"07:28
Jiachannel =07:28
Jiaxterm07:28
juliusbFranck_: Those _muldi3 functions should indeed by in libgcc10:24
juliusbso double check that your toolchain is installed correclty and you're not using -nostdlib or something10:24
Franck_ok, I'll double check tonight12:44
Franck_however, I think I tried to compile in the ubuntu-virtualbox-image environment with the same result.....12:45
Franck_I'll tell you tonight12:45
juliusbhmm odd13:35
juliusbcould you provide more information about what you're compiling and how?13:36
joniboFranck_: yes, muldi3 should be in libgcc...13:47
jonibohowever, I'm not sure that it's included if you build with "hardware" multiplication13:47
jonibohard-mul is the default... you need to specify soft-mul somewhere when building gcc to get those functions included13:47
Franck_jonibo: I tried with both hard-mul flag and without14:29
Franck_without the flag I have more unknown symbol14:30
Franck_with the flag some symbol left unresolved14:30
Franck_some more tests tonight....14:31
juliusbFranck_: can you then give us the compile line you're using?15:45
Franck_yeah I'll do when i'm back home :) I have some hardware to debug (at work :))15:51
juliusbnp :)15:53
juliusbwhere do yo work, mind if I ask?15:54
Franck_www.odyssee-systemes.fr, france15:56
Franck_hardware / low level soft / embedded system15:56
Franck_what about you ?15:57
juliusbcsr.com16:00
juliusbdoing digital design16:01
Franck_nice products16:03
Franck_your country ?16:09
juliusbI'm Australian16:25
juliusbbut working here in Cambridge16:25
juliusbso what is your interest in openrisc? are you interested for work or for play?16:32
Franck_just want to play with it16:35
Franck_I always have something to play with when my wife and boy are sleeping :)16:36
juliusbhaha16:37
juliusbnice one16:37
Franck_I think what is really missing to openrisc is something like sopc builder (altera)16:37
juliusbthere's some other people like that in this project :)16:37
Franck_something to handle bus connection and arbitration16:37
juliusbyes, well I'm looking at using IP-XACT for the project so we can have a better graphical frontened16:37
juliusband generate top-level and interconnect and arbiters16:37
Franck_exactly16:38
Franck_my next step (after barebox on simu) is to get an openrisc running on NEEK board (altera)16:38
juliusbit will probably be my christmas project ;)16:39
Franck_then my be a software to have a sopc builder like16:39
juliusbthe neek board looks pretty cool16:39
juliusbperfect for an OpenRISC system16:40
Franck_IP-XACT looks nice I didn't know it16:41
Franck_I'll take a look16:41
juliusbenough RAM to run OS, ethernet, enough room for a design that will fit16:41
juliusbdo you know roughly how big barebox compiles to? is it < 128KB?16:42
juliusb(the binary, of course)16:42
Franck_It depends how many features you want16:42
Franck_yo can have devfs, ramfs, hush shell16:43
Franck_for correct feature I'll say < 256K16:43
juliusbcool KO16:44
juliusbOK16:44
juliusbsounds like a good stepping stone between u-boot and the Linux kernel16:44
Franck_my current nios barebox.bin is 120KB16:44
juliusboh yeah cool16:52
juliusbthat's about right17:00
juliusbfor a mini OS/bootloader for a 32-bit RISC CPU17:00
olofk_htcjonibo: What's the plan for or1ksim.cfg in the kernel? I just saw that it wasn't in upstream18:01
Franck_I'm back to business23:04
Franck_I'm working in the openrisc virtualbox environment system23:05
Franck_this is an example of my gcc use:23:05
Franck_damn I can't paste it23:08
Franck_-Wp,-MD,fs/.devfs-core.o.d  -nostdinc -isystem /opt/or32-new/lib/gcc/or32-elf/4.5.1-or32-1.0rc4/include -D__KERNEL__ -D__BAREBOX__ -Iinclude23:08
Franck_-I/home/openrisc/barebox/arch/openrisc/include -I/home/openrisc/barebox/arch/openrisc/include -include include/generated/autoconf.h -fno-builtin23:08
Franck_-ffreestanding -D__OR1K__ -ffixed-r10 -fno-strict-aliasing -mhard-mul -mhard-div -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -g23:08
Franck_-fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(devfs_core)"  -D"KBUILD_MODNAME=KBUILD_STR(devfs_core)"23:09
Franck_-c -o fs/devfs-core.o fs/devfs-core.c23:09
Franck_then the compilation fails with:23:09
Franck_undefined reference to `__muldi3'23:09
Franck_reference to `__ashldi3'23:10
Franck_undefined reference to `__lshrdi3'23:10

Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!