FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 01-03-2008, 05:53 PM
Martin Sourada
 
Default gxine ( Mass rebuild status with gcc-4.3.0-0.4 of rawhide-20071220)

On Thu, 2008-01-03 at 13:02 +0100, Jakub Jelinek wrote:
> Hi!
>
> I've rebuilt 5118 rawhide-20071220 src.rpms on x86_64 in mock buildroots which
> contained rawhide-20071220 except {gcc,lib}*-4.1.2-36.*.rpm, with additional
> gcc-4.3.0-0.4 (available from koji, dist-f9-gcc43 component),
> compat-libgfortran-41 (available from
> http://people.redhat.com/jakub/gcc/compat-libgfortran-41-4.1.2-36.src.rpm )
> and later on also with gettext subpackages just rebuilt with gcc-4.3.0-0.4.
>
> Out of those 5118 src.rpms 1054 were failed builds. For those that failed
> to build, I have retried with stock rawhide-20071220 mock buildroots (i.e.
> gcc-4.1.2-36). 547 failed builds failed even with 4.1.2-36 (this count
> includes even ExclusiveArched rpms etc.), logs for those are at
> http://sunsite.mff.cuni.cz/rawhide20071220-gcc43/fails-even-with-41/
> and generally don't interest me, as this is not a regression introduced by
> 4.3.0-0.4.
>
> The remaining 507 failures only fail with gcc-4.3.0-0.4 and not with
> gcc-4.1.2-36, though most of them are just C++ being stricter, something
> that ought to be fixed in the packages.
>
> I've tried to quickly grep through the failed logs and categorize them:
>
> # of bugs URL with logs
> [...]
> 36 http://sunsite.mff.cuni.cz/rawhide20071220-gcc43/multipledef/
> When compiling with -std=c99 or -std=gnu99, inline keyword
> changes meaning, in 4.3+ it by defaults conforms to ISO C99
> where extern inline is very different thing than the
> GNU extern inline extension. If you want the GNU extern inline
> behavior, you can use extern inline __attribute__((__gnu_inline__))
> (the attribute can be guarded by #ifdef __GNUC_STDC_INLINE__
> which is a macro which is defined when inline has the ISO C99
> behavior), or compile with -fgnu89-inline option.

Hi,

my package is listed there and look into sources showed only 'static
inline' functions but none of these seems to be listed in the build log.
Instead lots of (to me) confusing messages about multiple defs in glib
header files like this (end of the really long list):

wizards.o: In function `g_bit_storage':
/usr/include/glib-2.0/glib/gutils.h:345: multiple definition of
`g_bit_storage'
console_output.o:/usr/include/glib-2.0/glib/gutils.h:345: first defined
here
xml_widgets.o: In function `g_bit_nth_lsf':
/usr/include/glib-2.0/glib/gutils.h:316: multiple definition of
`g_bit_nth_lsf'
console_output.o:/usr/include/glib-2.0/glib/gutils.h:316: first defined
here
xml_widgets.o: In function `g_bit_nth_msf':
/usr/include/glib-2.0/glib/gutils.h:331: multiple definition of
`g_bit_nth_msf'
console_output.o:/usr/include/glib-2.0/glib/gutils.h:331: first defined
here
xml_widgets.o: In function `g_trash_stack_push':
/usr/include/glib-2.0/glib/gutils.h:365: multiple definition of
`g_trash_stack_push'
console_output.o:/usr/include/glib-2.0/glib/gutils.h:365: first defined
here
xml_widgets.o: In function `g_trash_stack_pop':
/usr/include/glib-2.0/glib/gutils.h:373: multiple definition of
`g_trash_stack_pop'
console_output.o:/usr/include/glib-2.0/glib/gutils.h:373: first defined
here
xml_widgets.o: In function `g_trash_stack_peek':
/usr/include/glib-2.0/glib/gutils.h:387: multiple definition of
`g_trash_stack_peek'
console_output.o:/usr/include/glib-2.0/glib/gutils.h:387: first defined
here
xml_widgets.o: In function `g_trash_stack_height':
/usr/include/glib-2.0/glib/gutils.h:400: multiple definition of
`g_trash_stack_height'
console_output.o:/usr/include/glib-2.0/glib/gutils.h:400: first defined
here
xml_widgets.o: In function `g_once_init_enter':
/usr/include/glib-2.0/glib/gthread.h:335: multiple definition of
`g_once_init_enter'
console_output.o:/usr/include/glib-2.0/glib/gthread.h:335: first defined
here
xml_widgets.o: In function `g_bit_storage':
/usr/include/glib-2.0/glib/gutils.h:345: multiple definition of
`g_bit_storage'
console_output.o:/usr/include/glib-2.0/glib/gutils.h:345: first defined
here
collect2: ld returned 1 exit status
make[1]: *** [gxine] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/gxine-0.5.11/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.37311 (%build)

What can I do? I tried using '__inline__' instead of 'inline' with the
same result.

I noticed similar glib warnings among some of the other packages that
failed due to this reason but glib itself was apparently built OK...

Thanks,
Martin

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-03-2008, 06:21 PM
Jakub Jelinek
 
Default gxine ( Mass rebuild status with gcc-4.3.0-0.4 of rawhide-20071220)

On Thu, Jan 03, 2008 at 07:53:40PM +0100, Martin Sourada wrote:
> my package is listed there and look into sources showed only 'static
> inline' functions but none of these seems to be listed in the build log.
> Instead lots of (to me) confusing messages about multiple defs in glib
> header files like this (end of the really long list):
>
> wizards.o: In function `g_bit_storage':
> /usr/include/glib-2.0/glib/gutils.h:345: multiple definition of
> `g_bit_storage'
> console_output.o:/usr/include/glib-2.0/glib/gutils.h:345: first defined
> here

The problem is on the glib2 side.
Guess glib/gutils.h needs a change like:
#ifdef G_IMPLEMENT_INLINES
# define G_INLINE_FUNC
# undef G_CAN_INLINE
#elif defined (__GNUC__)
# if defined (__GNUC_STDC_INLINE__)
# define G_INLINE_FUNC extern inline __attribute__((__gnu_inline__))
# else
# define G_INLINE_FUNC extern inline
# endif
#elif defined (G_CAN_INLINE)
# define G_INLINE_FUNC static inline
#else /* can't inline */
# define G_INLINE_FUNC
#endif /* !G_INLINE_FUNC */

extern inline int foo (void) { return 1; }

in ISO C99 semantics means this inline function should be also emitted
out of line and exported from current CU, while in GNU inline semantics
it means if this inline can be inlined, inline it, if not, use the exported
function definition (typically from some other CU, shared library, ...).
static inline behaves the same in both semantics. The multiple definitions
linker errors are there because extern inline in ISO C99 means the function
is exported, so each CU which includes glib/gutils.h defines g_bit_nth_lsf,
etc.

See http://gcc.gnu.org/onlinedocs/gcc/Inline.html#Inline
or ISO C99 6.7.4.

Jakub

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-06-2008, 03:08 PM
"Dominik 'Rathann' Mierzejewski"
 
Default gxine ( Mass rebuild status with gcc-4.3.0-0.4 of rawhide-20071220)

On Thursday, 03 January 2008 at 20:21, Jakub Jelinek wrote:
> On Thu, Jan 03, 2008 at 07:53:40PM +0100, Martin Sourada wrote:
> > my package is listed there and look into sources showed only 'static
> > inline' functions but none of these seems to be listed in the build log.
> > Instead lots of (to me) confusing messages about multiple defs in glib
> > header files like this (end of the really long list):
> >
> > wizards.o: In function `g_bit_storage':
> > /usr/include/glib-2.0/glib/gutils.h:345: multiple definition of
> > `g_bit_storage'
> > console_output.o:/usr/include/glib-2.0/glib/gutils.h:345: first defined
> > here
>
> The problem is on the glib2 side.
[...]

I seem to have hit the same bug rebuilding ekg2.
Martin, have you filed a bug against glib2?

Regards,
R.

--
Fedora contributor http://fedoraproject.org/wiki/DominikMierzejewski
Livna contributor http://rpm.livna.org MPlayer developer http://mplayerhq.hu
"Faith manages."
-- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-06-2008, 03:23 PM
Martin Sourada
 
Default gxine ( Mass rebuild status with gcc-4.3.0-0.4 of rawhide-20071220)

On Sun, 2008-01-06 at 17:08 +0100, Dominik 'Rathann' Mierzejewski wrote:
> On Thursday, 03 January 2008 at 20:21, Jakub Jelinek wrote:
> > On Thu, Jan 03, 2008 at 07:53:40PM +0100, Martin Sourada wrote:
> > > my package is listed there and look into sources showed only 'static
> > > inline' functions but none of these seems to be listed in the build log.
> > > Instead lots of (to me) confusing messages about multiple defs in glib
> > > header files like this (end of the really long list):
> > >
> > > wizards.o: In function `g_bit_storage':
> > > /usr/include/glib-2.0/glib/gutils.h:345: multiple definition of
> > > `g_bit_storage'
> > > console_output.o:/usr/include/glib-2.0/glib/gutils.h:345: first defined
> > > here
> >
> > The problem is on the glib2 side.
> [...]
>
> I seem to have hit the same bug rebuilding ekg2.
> Martin, have you filed a bug against glib2?
>
Not yet, didn't have time yet... (working on nodoka gtk engine,
currently in the progress of switching to different e-mail address,
examination term on the university is very close...).

I'd be grateful if some with this same issue reported it...

> Regards,
> R.
>
Thanks,
Martin

> --
> Fedora contributor http://fedoraproject.org/wiki/DominikMierzejewski
> Livna contributor http://rpm.livna.org MPlayer developer http://mplayerhq.hu
> "Faith manages."
> -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
>
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-15-2008, 05:58 PM
"Dominik 'Rathann' Mierzejewski"
 
Default gxine ( Mass rebuild status with gcc-4.3.0-0.4 of rawhide-20071220)

On Sunday, 06 January 2008 at 17:23, Martin Sourada wrote:
>
> On Sun, 2008-01-06 at 17:08 +0100, Dominik 'Rathann' Mierzejewski wrote:
> > On Thursday, 03 January 2008 at 20:21, Jakub Jelinek wrote:
> > > On Thu, Jan 03, 2008 at 07:53:40PM +0100, Martin Sourada wrote:
> > > > my package is listed there and look into sources showed only 'static
> > > > inline' functions but none of these seems to be listed in the build log.
> > > > Instead lots of (to me) confusing messages about multiple defs in glib
> > > > header files like this (end of the really long list):
> > > >
> > > > wizards.o: In function `g_bit_storage':
> > > > /usr/include/glib-2.0/glib/gutils.h:345: multiple definition of
> > > > `g_bit_storage'
> > > > console_output.o:/usr/include/glib-2.0/glib/gutils.h:345: first defined
> > > > here
> > >
> > > The problem is on the glib2 side.
> > [...]
> >
> > I seem to have hit the same bug rebuilding ekg2.
> > Martin, have you filed a bug against glib2?
> >
> Not yet, didn't have time yet... (working on nodoka gtk engine,
> currently in the progress of switching to different e-mail address,
> examination term on the university is very close...).
>
> I'd be grateful if some with this same issue reported it...

Filed as https://bugzilla.redhat.com/show_bug.cgi?id=428865 .

Regards,
R.

--
Fedora contributor http://fedoraproject.org/wiki/DominikMierzejewski
Livna contributor http://rpm.livna.org MPlayer developer http://mplayerhq.hu
"Faith manages."
-- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 04:06 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org