#1786: CC builds for trunk are fubar
-----------------------+----------------------------------------------------
 Reporter:  Buginator  |              Owner:  Cyp             
     Type:  bug        |             Status:  new             
 Priority:  blocker    |          Milestone:  3.0             
Component:  other      |            Version:  svn/trunk       
 Keywords:             |   Operating_system:  All/Non-Specific
Blockedby:             |           Blocking:                  
-----------------------+----------------------------------------------------
 Cyp, got some time to make trunk builds, and they are screwed up when done
 with the CC compiler.  Oddly enough, MSVC still works (at least, the game
 starts)

 {{{

 --- Starting log ---
 error   |08:46:54: [i64Sqrt] Too badly broken sqrt function,
 i64Sqrt(18445618199572250625) = 4294836224.
 error   |08:46:54: [i64Sqrt] Assert in Warzone:
 ../../../../lib/framework/trig.c:572 ((int64_t)(r*r - n) <= 0 &&
 (int64_t)((r + 1)*(r + 1) - n) > 0), last script event: ''
 error   |08:46:54: [i64Sqrt] Too badly broken sqrt function,
 i64Sqrt(18445618199572250625) = 4294836224.
 error   |08:46:54: [i64Sqrt] Assert in Warzone:
 ../../../../lib/framework/trig.c:572 ((int64_t)(r*r - n) <= 0 &&
 (int64_t)((r + 1)*(r + 1) - n) > 0), last script event: ''
 error   |08:46:54: [trigInitialise] Sanity check failed,
 sqrt(18445618199572250625) gave 4294836224 instead of 4294836225!
 error   |08:46:54: [trigInitialise] Assert in Warzone:
 ../../../../lib/framework/trig.c:55 ((uint32_t)i64Sqrt(lower) == test),
 last script event: ''
 error   |08:46:54: [i64Sqrt] Too badly broken sqrt function,
 i64Sqrt(18445618208161923076) = 4294836225.
 error   |08:46:54: [i64Sqrt] Assert in Warzone:
 ../../../../lib/framework/trig.c:572 ((int64_t)(r*r - n) <= 0 &&
 (int64_t)((r + 1)*(r + 1) - n) > 0), last script event: ''
 error   |08:46:54: [i64Sqrt] Too badly broken sqrt function,
 i64Sqrt(18445618208161923076) = 4294836225.
 error   |08:46:54: [i64Sqrt] Assert in Warzone:
 ../../../../lib/framework/trig.c:572 ((int64_t)(r*r - n) <= 0 &&
 (int64_t)((r + 1)*(r + 1) - n) > 0), last script event: ''
 error   |08:46:54: [trigInitialise] Sanity check failed,
 sqrt(18445618208161923076) gave 4294836225 instead of 4294836226!
 error   |08:46:54: [trigInitialise] Assert in Warzone:
 ../../../../lib/framework/trig.c:55 ((uint32_t)i64Sqrt(lower) == test),
 last script event: ''
 error   |08:46:54: [i64Sqrt] Too badly broken sqrt function,
 i64Sqrt(18445618216751595529) = 4294836226.
 error   |08:46:54: [i64Sqrt] Assert in Warzone:
 ../../../../lib/framework/trig.c:572 ((int64_t)(r*r - n) <= 0 &&
 (int64_t)((r + 1)*(r + 1) - n) > 0), last script event: ''
 error   |08:46:54: [i64Sqrt] Too badly broken sqrt function,
 i64Sqrt(18445618216751595529) = 4294836226.
 error   |08:46:54: [i64Sqrt] Assert in Warzone:
 ../../../../lib/framework/trig.c:572 ((int64_t)(r*r - n) <= 0 &&
 (int64_t)((r + 1)*(r + 1) - n) > 0), last script event: ''
 error   |08:46:54: [trigInitialise] Sanity check failed,
 sqrt(18445618216751595529) gave 4294836226 instead of 4294836227!
 error   |08:46:54: [trigInitialise] Assert in Warzone:
 ../../../../lib/framework/trig.c:55 ((uint32_t)i64Sqrt(lower) == test),
 last script event: ''
 error   |08:46:54: [i64Sqrt] Too badly broken sqrt function,
 i64Sqrt(18445618225341267984) = 4294836227.
 error   |08:46:54: [i64Sqrt] Assert in Warzone:
 ../../../../lib/framework/trig.c:572 ((int64_t)(r*r - n) <= 0 &&
 (int64_t)((r + 1)*(r + 1) - n) > 0), last script event: ''
 error   |08:46:54: [i64Sqrt] Too badly broken sqrt function,
 i64Sqrt(18445618225341267984) = 4294836227.
 error   |08:46:54: [i64Sqrt] Assert in Warzone:
 ../../../../lib/framework/trig.c:572 ((int64_t)(r*r - n) <= 0 &&
 (int64_t)((r + 1)*(r + 1) - n) > 0), last script event: ''
 error   |08:46:54: [trigInitialise] Sanity check failed,
 sqrt(18445618225341267984) gave 4294836227 instead of 4294836228!
 error   |08:46:54: [trigInitialise] Assert in Warzone:
 ../../../../lib/framework/trig.c:55 ((uint32_t)i64Sqrt(lower) == test),
 last script event: ''
 error   |08:46:54: [i64Sqrt] Too badly broken sqrt function,
 i64Sqrt(18445618233930940441) = 4294836228.
 error   |08:46:54: [i64Sqrt] Assert in Warzone:
 ../../../../lib/framework/trig.c:572 ((int64_t)(r*r - n) <= 0 &&
 (int64_t)((r + 1)*(r + 1) - n) > 0), last script event: ''
 error   |08:46:54: [i64Sqrt] Too badly broken sqrt function,
 i64Sqrt(18445618233930940441) = 4294836228.
 error   |08:46:54: [i64Sqrt] Assert in Warzone:
 ../../../../lib/framework/trig.c:572 ((int64_t)(r*r - n) <= 0 &&
 (int64_t)((r + 1)*(r + 1) - n) > 0), last script event: ''
 error   |08:46:54: [trigInitialise] Sanity check failed,
 sqrt(18445618233930940441) gave 4294836228 instead of 4294836229!
 error   |08:46:54: [trigInitialise] Assert in Warzone:
 ../../../../lib/framework/trig.c:55 ((uint32_t)i64Sqrt(lower) == test),
 last script event: ''
 error   |08:46:54: [i64Sqrt] Too badly broken sqrt function,
 i64Sqrt(18445618242520612900) = 4294836229.
 error   |08:46:54: [i64Sqrt] Assert in Warzone:
 ../../../../lib/framework/trig.c:572 ((int64_t)(r*r - n) <= 0 &&
 (int64_t)((r + 1)*(r + 1) - n) > 0), last script event: ''
 error   |08:46:54: [i64Sqrt] Too badly broken sqrt function,
 i64Sqrt(18445618242520612900) = 4294836229.
 error   |08:46:54: [i64Sqrt] Assert in Warzone:
 ../../../../lib/framework/trig.c:572 ((int64_t)(r*r - n) <= 0 &&
 (int64_t)((r + 1)*(r + 1) - n) > 0), last script event: ''
 error   |08:46:54: [trigInitialise] Sanity check failed,
 sqrt(18445618242520612900) gave 4294836229 instead of 4294836230!
 error   |08:46:54: [trigInitialise] Assert in Warzone:
 ../../../../lib/framework/trig.c:55 ((uint32_t)i64Sqrt(lower) == test),
 last script event: ''
 error   |08:46:54: [i64Sqrt] Too badly broken sqrt function,
 i64Sqrt(18445618251110285361) = 4294836230.
 error   |08:46:54: [i64Sqrt] Assert in Warzone:
 ../../../../lib/framework/trig.c:572 ((int64_t)(r*r - n) <= 0 &&
 (int64_t)((r + 1)*(r + 1) - n) > 0), last script event: ''
 error   |08:46:54: [i64Sqrt] Too badly broken sqrt function,
 i64Sqrt(18445618251110285361) = 4294836230.
 error   |08:46:54: [i64Sqrt] Assert in Warzone:
 ../../../../lib/framework/trig.c:572 ((int64_t)(r*r - n) <= 0 &&
 (int64_t)((r + 1)*(r + 1) - n) > 0), last script event: ''
 error   |08:46:54: [trigInitialise] Sanity check failed,
 sqrt(18445618251110285361) gave 4294836230 instead of 4294836231!
 }}}
 I trimmed the log, since it was over 10MB and counting.

 Ideas on what needs to be changed?

-- 
Ticket URL: <http://developer.wz2100.net/ticket/1786>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to