bugGNUstep - Bugs: bug #28376, base build broken on windows:

Group
 
 

bug #28376: base build broken on windows:

Submitter:  Riccardo Mottola <rmottola>
Submitted:  Tue 22 Dec 2009 04:09:22 PM UTC
   
 
Category:  Base/Foundation Severity:  5 - Blocker
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 26 Dec 2009 05:19:06 AM UTC, comment #1: 

I have added some pre-processor statements to compile out this code when building on Windows.   This should resolve this problem. 

The Windows linker does not support weak linking.

Please try the build again and let me know if there are any issues.

GC

Gregory John Casamento <gcasa>
Group administrator
Tue 22 Dec 2009 04:09:22 PM UTC, original submission:  

 Compiling file NSObject.m ...
NSObject.m:900: warning: weak declaration of 'objc_create_block_classes_as_subcl
asses_of' not supported
NSObject.m:2500: warning: incomplete implementation of class `NSZombie'
NSObject.m:2500: warning: method definition for `-class' not found
 Linking library libgnustep-base ...


....


Creating library file: ./obj/libgnustep-base.dll.a
G:\GNUstep\mingw\bin\ld.exe: warning: auto-importing has been activated without
--enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols
 from auto-imported DLLs.obj/NSObject.m.o: In function `_c_NSObject__load':
G:/GNUstep/home/multix/gnustep-cvs/devmodules/core/base/Source/NSObject.m:906: u
ndefined reference to `_objc_create_block_classes_as_subclasses_of'
G:/GNUstep/home/multix/gnustep-cvs/devmodules/core/base/Source/NSObject.m:907: u
ndefined reference to `_objc_create_block_classes_as_subclasses_of'
collect2: ld returned 1 exit status
make[3]: * [obj/libgnustep-base.dll.a] Error 1

Riccardo Mottola <rmottola>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gcasa (Posted a comment)
  • -email is unavailable- added by rmottola (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-26 rmottola Open/ClosedIn Test Closed
    2009-12-26 gcasa StatusNone Fixed
        Assigned toNone gcasa
        Open/ClosedOpen In Test

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code