Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #27389

Closed (moved)
(moved)
Open
Created Aug 30, 2018 by teor@teor

Appveyor Windows 64-bit builds fail because the compiler is broken

Since about 6 hours ago, all Appveyor 64-bit Windows builds fail the first C file they build with:

bash.exe : In file included from ../src/core/or/or.h:16,
At line:2 char:5
+     & $commandPath $args 2>&1
+     ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (In file include...ore/or/or.h:16,:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
                 from ../src/app/main/ntmain.c:22:
../src/lib/cc/torint.h:52:2: error: #error "Seems that your platform doesn't use 2's complement arithmetic. Argh."
 #error "Seems that your platform doesn't use 2's complement arithmetic. Argh."
  ^~~~~
In file included from ../src/core/or/or.h:26,
                 from ../src/app/main/ntmain.c:22:
../src/lib/cc/compat_compiler.h:28:2: error: #error "It seems your platform does not represent NULL as zero. We can't cope."
 #error "It seems your platform does not represent NULL as zero. We can't cope."
  ^~~~~
../src/lib/cc/compat_compiler.h:32:2: error: #error "It seems your platform does not represent 0.0 as zeros. We can't cope."
 #error "It seems your platform does not represent 0.0 as zeros. We can't cope."
  ^~~~~
In file included from ../src/core/or/or.h:16,
                 from ../src/feature/dirauth/dircollate.h:16,
                 from ../src/feature/dirauth/dircollate.c:25:
../src/lib/cc/torint.h:52:2: error: #error "Seems that your platform doesn't use 2's complement arithmetic. Argh."
 #error "Seems that your platform doesn't use 2's complement arithmetic. Argh."
  ^~~~~
In file included from ../src/core/or/or.h:26,
                 from ../src/feature/dirauth/dircollate.h:16,
                 from ../src/feature/dirauth/dircollate.c:25:
../src/lib/cc/compat_compiler.h:28:2: error: #error "It seems your platform does not represent NULL as zero. We can't cope."
 #error "It seems your platform does not represent NULL as zero. We can't cope."
  ^~~~~
../src/lib/cc/compat_compiler.h:32:2: error: #error "It seems your platform does not represent 0.0 as zeros. We can't cope."
 #error "It seems your platform does not represent 0.0 as zeros. We can't cope."
  ^~~~~

https://ci.appveyor.com/project/teor2345/tor/build/1.0.113/job/ujbvwntcu1pdk2m6#L762

CC'ing mikeperry, because he's on CI rotation this week. Which is weird, because configure seems to succeed.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking