Re: blackfin toolchain and build issues

Previous thread: [PATCH] Check patch reports multiple var with a function assignment by Jason Wessel on Monday, July 30, 2007 - 10:45 pm. (2 messages)

Next thread: inotify and /proc/<pid> by Joseph Pingenot on Monday, July 30, 2007 - 10:16 pm. (16 messages)
To: Alexey Dobriyan <adobriyan@...>, <linux-kernel@...>, <linux-arch@...>
Cc: Bryan Wu <bryan.wu@...>
Date: Monday, July 30, 2007 - 10:51 pm

Oh, do you need use blackfin toolchain? Actually, it is very simple to
setup it on your machine.
please get the latest binary toolchain here:
http://blackfin.uclinux.org/gf/download/frsrelease/344/3180/blackfin-too...
http://blackfin.uclinux.org/gf/download/frsrelease/344/3181/blackfin-too...

- untar these 2 tar ball
- add the path to your environment variables

Need I to generate the patch? I will take a look at the latest git-tree.

Many thanks, we hope you can add our blackfin to your cross-build check.

Best Regards,
- Bryan Wu
-

To: Bryan Wu <bryan.wu@...>
Cc: Alexey Dobriyan <adobriyan@...>, <linux-kernel@...>, <linux-arch@...>
Date: Thursday, August 2, 2007 - 3:44 pm

Thanks - installed.

While building latest git tree I see several 'funny' errors.
LD kernel/built-in.o
bfin-linux-uclibc-ld: Warning: size of symbol `_sys_futex' changed from 4 in kernel/sys_ni.o to 262 in kernel/futex.o
bfin-linux-uclibc-ld: Warning: size of symbol `_sys_set_robust_list' changed from 4 in kernel/sys_ni.o to 30 in kernel/futex.o
bfin-linux-uclibc-ld: Warning: size of symbol `_sys_get_robust_list' changed from 4 in kernel/sys_ni.o to 170 in kernel/futex.o
bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setfsgid16' changed from 4 in kernel/sys_ni.o to 16 in kernel/uid16.o
bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setfsuid16' changed from 4 in kernel/sys_ni.o to 16 in kernel/uid16.o
bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setresgid16' changed from 4 in kernel/sys_ni.o to 36 in kernel/uid16.o
bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setresuid16' changed from 4 in kernel/sys_ni.o to 36 in kernel/uid16.o
bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setuid16' changed from 4 in kernel/sys_ni.o to 16 in kernel/uid16.o
bfin-linux-uclibc-ld: Warning: size of symbol `_sys_setreuid16' changed from 4 in kernel/sys_ni.o to 26 in kernel/uid16.o
...

and later:

LD .tmp_vmlinux1
bfin-linux-uclibc-ld: Warning: size of symbol `_sys_mremap' changed from 4 in kernel/built-in.o to 82 in mm/built-in.o
bfin-linux-uclibc-ld: Warning: size of symbol `_sys_ioprio_set' changed from 4 in kernel/built-in.o to 362 in fs/built-in.o
bfin-linux-uclibc-ld: Warning: size of symbol `_sys_epoll_wait' changed from 4 in kernel/built-in.o to 1002 in fs/built-in.o
bfin-linux-uclibc-ld: Warning: size of symbol `_sys_timerfd' changed from 4 in kernel/built-in.o to 346 in fs/built-in.o
bfin-linux-uclibc-ld: Warning: size of symbol `_sys_ioprio_get' changed from 4 in kernel/built-in.o to 344 in fs/built-in.o

I did not look into these. I assume it is a toolchain issue??

PS. I had to fix a few things to get so far but as I did not do
it the right way I...

To: Sam Ravnborg <sam@...>
Cc: Bryan Wu <bryan.wu@...>, Alexey Dobriyan <adobriyan@...>, <linux-kernel@...>, <linux-arch@...>
Date: Thursday, August 2, 2007 - 10:18 pm

I will check this on my side ASAP. But the git-tree did not merge my

Thanks
-

To: Bryan Wu <bryan.wu@...>
Cc: Alexey Dobriyan <adobriyan@...>, <linux-kernel@...>, <linux-arch@...>
Date: Friday, August 3, 2007 - 12:32 am

I just inserted "#include <linux/fs.h> in mm.h as a temporary workaround.
I also had to deselect a few drivers to make it build this far (used defconfig).

Sam
-

Previous thread: [PATCH] Check patch reports multiple var with a function assignment by Jason Wessel on Monday, July 30, 2007 - 10:45 pm. (2 messages)

Next thread: inotify and /proc/<pid> by Joseph Pingenot on Monday, July 30, 2007 - 10:16 pm. (16 messages)