Int overflow on 32 bits arches #1343

Open
opened 2019-07-03 15:54:31 +00:00 by eclipseo · 1 comment
eclipseo commented 2019-07-03 15:54:31 +00:00 (Migrated from github.com)

Golang 1.12.6 on i686 and armv7:

Testing    in: /builddir/build/BUILD/xorm-0.7.1/_build/src
         PATH: /builddir/build/BUILD/xorm-0.7.1/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/xorm-0.7.1/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags "-X github.com/go-xorm/xorm/version=0.7.1 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
      testing: github.com/go-xorm/xorm
github.com/go-xorm/xorm
FAIL	github.com/go-xorm/xorm [build failed]
BUILDSTDERR: # github.com/go-xorm/xorm [github.com/go-xorm/xorm.test]
BUILDSTDERR: ./session_update_test.go:1070:63: constant 13126564922 overflows int
Golang 1.12.6 on i686 and armv7: ``` Testing in: /builddir/build/BUILD/xorm-0.7.1/_build/src PATH: /builddir/build/BUILD/xorm-0.7.1/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/xorm-0.7.1/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags "-X github.com/go-xorm/xorm/version=0.7.1 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: github.com/go-xorm/xorm github.com/go-xorm/xorm FAIL github.com/go-xorm/xorm [build failed] BUILDSTDERR: # github.com/go-xorm/xorm [github.com/go-xorm/xorm.test] BUILDSTDERR: ./session_update_test.go:1070:63: constant 13126564922 overflows int ```
lunny added this to the 1.1.1 milestone 2020-03-04 02:19:41 +00:00

I should run the tests on my raspiberry pi.

I should run the tests on my raspiberry pi.
lunny modified the milestone from 1.1.1 to (deleted) 2021-06-07 08:25:36 +00:00
lunny added the
RaspBerry Pi
label 2021-06-09 03:45:58 +00:00
lunny removed this from the (deleted) milestone 2023-07-26 01:23:28 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#1343
No description provided.