Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] issue with gcc 4.4.0 & sqllite  & U-boot
@ 2009-06-08 12:38 Sagaert Johan
  2009-06-08 12:49 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Sagaert Johan @ 2009-06-08 12:38 UTC (permalink / raw)
  To: buildroot

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-08 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-08 12:38 [Buildroot] issue with gcc 4.4.0 & sqllite & U-boot Sagaert Johan
2009-06-08 12:49 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox