[PATCH] Minor PPC bits

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Wed Dec 13 15:02:00 GMT 2000


On Wednesday 13 December 2000 23:34, Daniel Berlin wrote:
> Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
> > On Wednesday 13 December 2000 20:53, Geoff Keating wrote:
> > > > > > BTW, can you commit my pending .file/.loc patch to binutils?
> > > >
> > > > Thanks, defaulting to DWARF2_DEBUG seems to work quite well and
> > > > similar to the other platforms BTW.
> > >
> > > How large is the resulting debugging info in .o files and executables?
> > > If it's not significantly larger, I think we should switch to dwarf2
> > > by default.
> >
> > [root@enzo:/cvsx/linuxppc_2_3]# dir /cvsroot/v*
> > -rwxr-xr-x   1 fsirl    fsirl    33619307 Thu Dec 07 19:05:20 2000
> > /cvsroot/vmlinux-dwarf2
> > -rwxr-xr-x   1 fsirl    fsirl     9001968 Wed Dec 13 22:24:07 2000
> > /cvsroot/vmlinux-stabs
> >
> > Quite significant I would say :-).
>
> Try again with -feliminate-dwarf2-dups.
>
> Should be about 18% bigger than stabs.

I wish you hadn't suggested that :-). It triggers a bug (?)...

Franz.

make[3]: Entering directory `/cvsx/linuxppc_2_3/drivers/usb'
ld -r -o usbcore.o usb.o usb-debug.o hub.o devio.o inode.o drivers.o devices.o
rm -f usbdrv.o
ld  -r -o usbdrv.o usbcore.o usb-ohci.o hid.o
usb-ohci.o: In function `hc_found_ohci':
/cvsx/linuxppc_2_3/drivers/usb/usb-ohci.c:2228: multiple definition of 
`DW.usb.h.a8a878f3.d'
ld: Dwarf Error: Could not find abbrev number 102.
usbcore.o(.debug_info+0x12422): first defined here
usb-ohci.o: In function `hc_found_ohci':
/cvsx/linuxppc_2_3/drivers/usb/usb-ohci.c:2234: multiple definition of 
`DW.usbdev_fs_i.h.77a9133d.3'
usbcore.o(.debug_info+0x1cfdd): first defined here
usb-ohci.o: In function `ohci_pci_remove':
/cvsx/linuxppc_2_3/drivers/usb/usb-ohci.c:2380: multiple definition of 
`DW.usbdev_fs_i.h.77a9133d.1'
usbcore.o(.debug_info+0x1ceec): first defined here
usb-ohci.o: In function `ohci_pci_remove':
/cvsx/linuxppc_2_3/drivers/usb/usb-ohci.c:2380: multiple definition of 
`DW.ext2_fs_i.h.dd2e750f.0'
usbcore.o(.debug_info+0x21247): first defined here
usb-ohci.o: In function `hc_found_ohci':
/cvsx/linuxppc_2_3/drivers/usb/usb-ohci.c:2241: multiple definition of 
`DW.usb.h.a8a878f3.14'
usbcore.o(.debug_info+0x1247c): first defined here
usb-ohci.o: In function `sohci_submit_urb':
/cvsx/linuxppc_2_3/drivers/usb/usb-ohci.c:565: multiple definition of 
`DW.usb.h.a8a878f3.1f'
usbcore.o(.debug_info+0x12839): first defined here
usb-ohci.o: In function `hc_found_ohci':
/cvsx/linuxppc_2_3/drivers/usb/usb-ohci.c:2228: multiple definition of 
`DW.module.h.244b6457.8'
usbcore.o(.debug_info+0x2660b): first defined here
usb-ohci.o: In function `ohci_pci_remove':
/cvsx/linuxppc_2_3/drivers/usb/usb-ohci.c:2380: multiple definition of 
`DW.init.h.3cfab274.0'
usbcore.o(.debug_info+0x1302d): first defined here
usb-ohci.o: In function `ohci_pci_remove':
/cvsx/linuxppc_2_3/drivers/usb/usb-ohci.c:2378: multiple definition of 
`DW.usb.h.a8a878f3.0'
usbcore.o(.debug_info+0x1232f): first defined here
usb-ohci.o: In function `ohci_pci_remove':
/cvsx/linuxppc_2_3/drivers/usb/usb-ohci.c:2380: multiple definition of 
`DW.usb.h.a8a878f3.1'
usbcore.o(.debug_info+0x12338): first defined here

and a lot more of that...


More information about the Gcc-patches mailing list