[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#93226: Optimisation bug when building gnome-pim 1.4.0 with -O2



Package: gcc-2.95
Version: 1:2.95.3-10
Severity: normal

When building gnome-pim, I ran into a strange problem:

gcc -shared  GnomeCal-common.lo GnomeCal-stubs.lo calendar-conduit.lo calobj.lo alarm.lo calendar.lo timeutil.lo -Wl,--whole-archive ../libversit/.libs/libversit.al -Wl,--no-whole-archive  -lpisock -L/usr/lib -L/usr/X11R6/lib -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldl -lc  -Wl,-soname -Wl,libcalendar_conduit.so.0 -o .libs/libcalendar_conduit.so.0.0.0
alarm.lo: In function `g_bit_nth_lsf':
/home/hosehead/src/gnome-pim/gnome-pim-1.4.0/gncal/alarm.c(.text+0x0): multiple definition of `g_bit_nth_lsf'
calobj.lo(.text+0x0):/home/hosehead/src/gnome-pim/gnome-pim-1.4.0/gncal/calobj.c: first defined here
alarm.lo: In function `g_bit_nth_msf':
/usr/include/glib-1.2/glib.h(.text+0x2c): multiple definition of `g_bit_nth_msf'calobj.lo(.text+0x2c):/usr/include/glib-1.2/glib.h: first defined here
alarm.lo: In function `g_bit_storage':
/usr/include/glib-1.2/glib.h(.text+0x60): multiple definition of `g_bit_storage'calobj.lo(.text+0x60):/usr/include/glib-1.2/glib.h: first defined here
collect2: ld returned 1 exit status

(Very confusing to say the least) - I rebuilt with CFLAGS="-O0" and it
did build properly.
What sort of files can I supply so that this can be debugged?

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux pisces 2.4.3 #2 Tue Apr 3 13:31:39 EDT 2001 i686

Versions of packages gcc-2.95 depends on:
ii  binutils                   2.11.90.0.1-1 The GNU assembler, linker and bina
ii  cpp-2.95                   1:2.95.3-10   The GNU C preprocessor.           
ii  gcc                        1:2.95.3-7    The GNU C compiler.               
ii  libc6                      2.2.2-4       GNU C Library: Shared libraries an




Reply to: