[Buildroot] issue with gcc 4.4.0 & sqllite & U-boot

Sagaert Johan sagaert.johan at skynet.be
Mon Jun 8 12:38:17 UTC 2009


Hi
 
When building with the GCC 4.4.0 toolchain i noticed that sqllite no longer
works.
 
When executing mysql i got :
#mysql 
Can't modify /usr/lib/libstdc++.so.6's text section. Use GCC option -fPIC
for shared objects, please.
#
 
I  already have enabled PIC in building uclibc but it still has not solved
this.
Is there another place in buildroot where i could change something ?
 
 
 
The second issue is that u-boot no longer builds with GCC 4.4.0
 
the weak attribute yields an error when used with inline. 
 
void inline show_boot_progress (int val) __attribute__((weak,
alias("__show_boot_progress")));
 
should become
 
void show_boot_progress (int val) __attribute__((weak,
alias("__show_boot_progress")));
 
 
Johan
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090608/6fd97745/attachment.htm>


More information about the buildroot mailing list