Bug#550600: fails to build with newer eglibc

Stefan Potyra stefan.potyra at informatik.uni-erlangen.de
Tue Nov 3 12:48:45 UTC 2009


Hi Joss,

Am Tuesday 03 November 2009 13:34:45 schrieb Josselin Mouette:
> Le dimanche 11 octobre 2009 à 16:04 +0200, Stefan Potyra a écrit :
> > during Ubuntu's rebuild test, libsoup failed to build with the newer
> > eglibc [1], since it provides a definition for dprintf.
> >
> > Attached is a patch that changes the local defintions of dprintf to
> > dprintf_local.
>
> Wouldn’t it be sufficient to build it with -Bsymbolic instead?

No, it doesn't fail at link time, but rather at compile time, so -Bsymbolic 
wouldn't help[1]:

cc -DHAVE_CONFIG_H -I. -I.. -I.. -DSRCDIR=\""."\" -I/usr/include/libxml2   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include       -g -O2 -g -Wall -O2 		-Wall -Wstrict-prototypes -Wmissing-declarations 		-Wmissing-prototypes -Wnested-externs -Wpointer-arith -D_REENTRANT -c 
context-test.c
context-test.c:31: error: conflicting types for 'dprintf'

Maybe there's a way to disable the eglibc prototype of getline, but I haven't 
found one :(.

Cheers,
     Stefan.
--
[1]: Side note: Ubuntu has -Bsymbolic-functions enabled by default.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20091103/def09a85/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list