pkgsrc-Bugs archive

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

Re: pkg/47259: current devel/gnustep-base does not build



The following reply was made to PR pkg/47259; it has been noted by GNATS.

From: Onno van der Linden <o.vd.linden%quicknet.nl@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/47259: current devel/gnustep-base does not build
Date: Sun, 3 Feb 2013 14:02:40 +0100

 > At the very, very least, this i386 " undefined reference to 
 > `__i686.get_pc_thunk.bx'" problem has to be fixed.  It's been broken for 
 > a few months now.  Is anybody working on this regression?
 
 Fix from the gnustep libobjc2 svn trunk:
 
 
http://svn.gna.org/viewcvs/gnustep/libs/libobjc2/trunk/objc_msgSend.x86-32.S?view=patch&r1=35137&r2=35970&sortby=date
 
 --- libs/libobjc2/trunk/objc_msgSend.x86-32.S  2012/05/04 13:28:08     35137
 +++ libs/libobjc2/trunk/objc_msgSend.x86-32.S  2013/01/14 14:59:01     35970
 @@ -76,11 +76,14 @@
  
  
        jmp   *%eax
 -6:                                        # smallObject:
 +6:                                       # smallObject:
        push  %ebx                           # Save old %ebx
 -      call  __i686.get_pc_thunk.bx
 -      addl  $_GLOBAL_OFFSET_TABLE_, %ebx
 -      mov   SmallObjectClasses@GOT(%ebx), %eax
 +      calll 7f
 +7:
 +      popl  %ebx;
 +8:
 +      addl  $_GLOBAL_OFFSET_TABLE_+(8b-7b), %ebx
 +      leal  SmallObjectClasses@GOTOFF(%ebx), %eax
        mov   (%eax), %eax
        popl  %ebx
        jmp   1b
 


Home | Main Index | Thread Index | Old Index