Skip to contentSkip to conversation

issue with gcc 4.4.0 & sqllite & U-boot

Buildroot Sagaert Johan 2 participants 2 messages Jun 8, 2009

lore
Share & tools
lore
#0 lore raw

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>

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sagaert" == Sagaert Johan <[email protected]> writes:

Sagaert> Hi

Sagaert> When building with the GCC 4.4.0 toolchain i noticed that Sagaert> sqllite no longer works.

Yes, there seems to be quite some problems with 4.4.x / programs not fixed yet - That's why 4.3. is still default.

Signature · 1 line
Bye, Peter Korsgaard