-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Recreate of issue #203 #306
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
Comments
@tdolby can you please checkout branch |
@tdolby any update ? |
@gjrtimmer Sorry - missed the first notification :( I'll try and test this early next week. |
@tdolby I hope the fix works for you. |
@tdolby I rebased |
@tdolby |
@tdolby Any success ? |
Having issues building now, as it looks like the world has moved on: when I run
I now get
which looks like I need go 1.7 and can't build with gccgo 6.1.0 . . . I shall try and get gcc7 going and see how it works there. |
I don't have gcc7 working yet, but I have applied your branch changes on top of release 1.2 (which does work with go 1.6) and they build successfully. From the perspective of the original environment, your fix is looking good, and works for ppc64. From the perspective of current source, I haven't confirmed that the solution still works with current master code and recent GCC versions; I can try and get that going if it's worthwhile? |
@tdolby I think you should give it a try, I will incorperate the fix at least into the current v2.0.0 branch I'm building |
@tdolby made small change, included the options within |
No problem - I'm building gccgo 7.3 right now but can certainly try out the new changes on that version and also 6.1.0. |
@tdolby Sounds great, PR is awaiting your test and approval. |
Add Enhancement:
|
@tdolby any update on latest test ? |
Yes - just finished testing everything with gccgo 6.1, 7.3, and 8.1 on ppc64, and everything works as expected. The patched sqllite3 1.2 source works for all compilers, and the current 306 source works for 7.3 and 8.1 due to language constraints described above stopping 6.1 from working. Thanks for fixing this! |
Bumped into the same issue as described in #203 while building with gccgo on ppc64 (big endian):
but as @ianlancetaylor rightly pointed out, this ought not to be happening because libpthread should be linked in automatically. The code works fine on linux-amd64 with gccgo 5.3.0 (go v1.4.2), but not on linux-ppc64 with gcc-6.1.0 (go v1.6.1).
The simplest solution does seem to be to add -lpthread into LDFLAGS in this package, but if you'd rather I chase the gccgo side of things instead then this issue can be closed; it seemed worth providing the recreate (missing from #203) just in case it helps (even if it's just a misconfiguration of gccgo).
Version for gccgo:
libgo ldd output:
The text was updated successfully, but these errors were encountered: