Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

32 bit build issue #70

Open
hyunw55 opened this issue Apr 12, 2023 · 0 comments
Open

32 bit build issue #70

hyunw55 opened this issue Apr 12, 2023 · 0 comments

Comments

@hyunw55
Copy link

hyunw55 commented Apr 12, 2023

Description

This code not support 32bit

Expected behaviour
error occured in duration.go

Current behaviour
duration.go
the error from
Hour == 1000 * 1000 * 60 * 60 (mirco * milli * second * minute -> hour)
this value over 32bit int range

I can't not build my code on 32 bit linux

Steps to Reproduce

Steps to reproduce the behavior:
CGO_ENABLE=1 GOOS=linux CGO_CFLAGS="-m32" CGO_LDFLAGS="-m32" go build
error occured in duration.go

Environment

Client:
OS: RHEL7
go version: 1.19.5
go-dblib version / commit hash: latest
(go-ase version / commit hash:) latest
(cgo-ase version / commit hash:) latest

Server:
OS: I can not build, so I could not connect the server
(ASE version:)

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant