| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0003899 | Spring engine | Buildbot | public | 2013-07-27 05:22 | 2013-07-28 03:27 | ||||
| Reporter | abma | ||||||||
| Assigned To | abma | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | resolved | Resolution | fixed | ||||||
| Product Version | |||||||||
| Target Version | 95.0 | Fixed in Version | |||||||
| Summary | 0003899: fix buildbot / buildsetup issues | ||||||||
| Description | https://github.com/spring/spring/commit/c0c8bfecb4ff2588841a23aa50aea81843142e26 | ||||||||
| Additional Information | - headless doesn't work because it has problems with the sdl-stubs (undefined references to the glstubs) http://buildbot.springrts.com/builders/full-windows-test/builds/1167/steps/buildConfigNinja/logs/stdio i have no clue how to fix - omp isn't available  | ||||||||
| Tags | No tags attached. | ||||||||
| Checked infolog.txt for Errors | |||||||||
| Attached Files | 
 | ||||||||
 Relationships	 | 
||||||
  | 
||||||
 Notes	 | 
|
| 
				
		 cleanrock (reporter) 2013-07-27 10:25  | 
	
		Looks like it only includes glstub.c in headlessStubs. Perhaps its because the source list do not contain file suffixes.  | 
| 
				
		 cleanrock (reporter) 2013-07-27 10:36  | 
	Forget that, looks like it just did not need to build the other files. | 
| 
				
		 cleanrock (reporter) 2013-07-27 11:11  | 
	GLAPI is most probably setup/selected incorrect in gl.h. | 
| 
				
		 abma (administrator) 2013-07-27 13:09 Last edited: 2013-07-27 13:49  | 
	
		mingw64 gl.h: WINGDIAPI void APIENTRY glEnable(GLenum cap); vs mingw32 gl.h: GLAPI void APIENTRY glEnable( GLenum cap ); not sure if this bug is in the current used mingw64: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55268 (report is about gcc 4.8.0, used is 4.7.3)  | 
| 
				
		 abma (administrator) 2013-07-27 13:55  | 
	pff, 4.8.1 doesn't compile: http://sourceforge.net/mailarchive/message.php?msg_id=31092447 | 
| 
				
		 cleanrock (reporter) 2013-07-27 14:49  | 
	
		I am pretty sure _imp__* means it will try to look for it in a DLL. So WINGDIAPI is probably defined to be "__declspec(import)" when mingw64 gl.h includes <windows.h>, from gl.h : #if !(defined(WINGDIAPI) && defined(WINAPI)) #include <windows.h> #endif Perhaps we can define those to what we want (empty?) when building headless.  | 
| 
				
		 cleanrock (reporter) 2013-07-27 21:29  | 
	
		To make a long story short: define _GDI32_ when building headless (and dedicated?), it will set WINGDIAPI empty. See http://sourceforge.net/p/mingw-w64/patches/41/ After a lot of problems i managed to cross-compile/link spring-headless with mingw-w64-gcc 4.8.1 on archlinux, i had to do some other changes but i hope those are archlinux specific, if not i will supply them.  | 
| 
				
		 abma (administrator) 2013-07-28 01:04  | 
	
		great, thanks! i guess i can fix the rest of the linker errors...  | 
| 
				
		 abma (administrator) 2013-07-28 01:55  | 
	
		works: https://github.com/spring/spring/commit/a6bcd9734677eb3a680b0590f4755be67fa40393 now omp or threadpool should work... jk, what about threadpool?  | 
| 
				
		 abma (administrator) 2013-07-28 03:27  | 
	
		mingw64 compiler has now omp support on the buildslave. i've updated to pthreads-win32-2.9.1 as well, so lets see if spring.restart works again... thanks for the help guys!  | 
 Issue History			 | 
		|||
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2013-07-27 05:22 | abma | New Issue | |
| 2013-07-27 10:25 | cleanrock | Note Added: 0011082 | |
| 2013-07-27 10:36 | cleanrock | Note Added: 0011083 | |
| 2013-07-27 11:11 | cleanrock | Note Added: 0011084 | |
| 2013-07-27 13:09 | abma | Note Added: 0011085 | |
| 2013-07-27 13:49 | abma | Note Edited: 0011085 | View Revisions | 
| 2013-07-27 13:55 | abma | Note Added: 0011086 | |
| 2013-07-27 14:49 | cleanrock | Note Added: 0011087 | |
| 2013-07-27 21:29 | cleanrock | Note Added: 0011089 | |
| 2013-07-28 01:04 | abma | Note Added: 0011091 | |
| 2013-07-28 01:54 | abma | Assigned To | => jK | 
| 2013-07-28 01:54 | abma | Status | new => assigned | 
| 2013-07-28 01:55 | abma | Note Added: 0011092 | |
| 2013-07-28 03:25 | abma | Relationship added | related to 0003840 | 
| 2013-07-28 03:27 | abma | Note Added: 0011093 | |
| 2013-07-28 03:27 | abma | Status | assigned => resolved | 
| 2013-07-28 03:27 | abma | Resolution | open => fixed | 
| 2013-07-28 03:27 | abma | Assigned To | jK => abma | 

	
