Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Buildroot fails to build shared library for libglib12 on avr32
@ 2009-01-13 13:29 David Brown
  2009-01-15 22:20 ` Ulf Samuelsson
  0 siblings, 1 reply; 2+ messages in thread
From: David Brown @ 2009-01-13 13:29 UTC (permalink / raw)
  To: buildroot

Should I be posting this sort of thing here in the mailing list, or 
using the bug tracker?



When building for the avr32, libglib12 does not build a shared library 
for the target, and therefore fails to build properly.  The fix, as far 
as I can see, is to patch "ltconfig" so that avr32 builds are treated 
like uclibc builds.  I based this on an old mailing list post:

http://lists.busybox.net/pipermail/buildroot/2008-February/007030.html

The post refers to issue number 1478 in the bug tracker for busybox, but 
I can't find a bug with this number.


Adding the following patch to package/libglib12 fixes the problem:

package/libglib12/libglib-sharedlib-avr32.patch

--- glib/ltconfig
+++ glib/ltconfig
@@ -1982,7 +1982,7 @@
    fi
    ;;

-linux-uclibc*)
+linux-uclibc* | avr32-linux*)
    version_type=linux
    need_lib_prefix=no
    need_version=no



mvh.,

David Brown

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

* [Buildroot] Buildroot fails to build shared library for libglib12 on avr32
  2009-01-13 13:29 [Buildroot] Buildroot fails to build shared library for libglib12 on avr32 David Brown
@ 2009-01-15 22:20 ` Ulf Samuelsson
  0 siblings, 0 replies; 2+ messages in thread
From: Ulf Samuelsson @ 2009-01-15 22:20 UTC (permalink / raw)
  To: buildroot

tis 2009-01-13 klockan 14:29 +0100 skrev David Brown:
> Should I be posting this sort of thing here in the mailing list, or 
> using the bug tracker?
> 
> 
> 
> When building for the avr32, libglib12 does not build a shared library 
> for the target, and therefore fails to build properly.  The fix, as far 
> as I can see, is to patch "ltconfig" so that avr32 builds are treated 
> like uclibc builds.  I based this on an old mailing list post:
> 
> http://lists.busybox.net/pipermail/buildroot/2008-February/007030.html
> 
> The post refers to issue number 1478 in the bug tracker for busybox, but 
> I can't find a bug with this number.
> 
> 
Will test this and commit, it it works.
BR
Ulf Samuelsson


> Adding the following patch to package/libglib12 fixes the problem:
> 
> package/libglib12/libglib-sharedlib-avr32.patch
> 
> --- glib/ltconfig
> +++ glib/ltconfig
> @@ -1982,7 +1982,7 @@
>     fi
>     ;;
> 
> -linux-uclibc*)
> +linux-uclibc* | avr32-linux*)
>     version_type=linux
>     need_lib_prefix=no
>     need_version=no
> 
> 
> 
> mvh.,
> 
> David Brown
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

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

end of thread, other threads:[~2009-01-15 22:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13 13:29 [Buildroot] Buildroot fails to build shared library for libglib12 on avr32 David Brown
2009-01-15 22:20 ` Ulf Samuelsson

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