Subject: =?UTF-8?B?UmU6IE1vZHVsYXIgWDExIChvciBHQ0Mgb3Igc29tZXRoaW5nIGVsc2U=?=
To: None <current-users@netbsd.org, tech-pkg@netbsd.org>
From: Vincent <10.50@free.fr>
List: tech-pkg
Date: 02/26/2007 22:27:13
Post-scriptum,

> ../../os-support/.libs/libxorgos.a(i386_video.o)(.text.__i686.get_pc_thunk.bx+0x0): 
> In function `__i686.get_pc_thunk.bx':
> : multiple definition of `__i686.get_pc_thunk.bx'
> /usr/lib/crt0.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first 
> defined here

> .section 
> .text.__i686.get_pc_thunk.bx,"axG",@progbits,__i686.get_pc_thunk.bx,comdat
> 
> .globl __i686.get_pc_thunk.bx
>         .hidden __i686.get_pc_thunk.bx
>         .type   __i686.get_pc_thunk.bx, @function
> __i686.get_pc_thunk.bx:
>         movl    (%esp), %ebx
>         ret

Ok. The problem is that gcc (ld ?) still does not allow mixing of COMDAT 
and LINKONCE sections. Anything to do to generate a suitable 
/usr/lib/crt0.o with COMDAT instead of LINKONCE?

Vincent