Sorry for confusing, but I got something wrong: gollvm still does not work
under root. It seems problems related with split-stack, but I do not know
how to fix it yet.
在2022年7月17日星期日 UTC+8 22:59:14 写道:
> Hi khanh:
>
> I met that problem too, and I thought I somehow fix it. I located the
>
Hi khanh:
I met that problem too, and I thought I somehow fix it. I located the
source code and found that when caller function is compiled with
"fsplit-stack" and callee function is compiled with "fno-split-stack", the
address of caller functions has to be relocated. However it remains me
On Sun, Apr 24, 2022 at 10:17 PM hohoho syncxxx
wrote:
>
> Hi, I meet that error in ubuntu too. And here is my env:
> LLVM: 2c5590adfe09
>
> gollvm: f17ba8c7708356ef447525e05cd6f2770845c7d7
>
> gofrontend: e3bfc0889237a5bb8aa7ae30e1cff14f90a5f941
>
> libffi:
Hi, I meet that error in ubuntu too. And here is my env:
*LLVM: 2c5590adfe09gollvm:
f17ba8c7708356ef447525e05cd6f2770845c7d7gofrontend:
e3bfc0889237a5bb8aa7ae30e1cff14f90a5f941libffi:
0f2dd369cd5edcefad29b3fca4e1d08cb34f8f19libbacktrace:
d0f5e95a87a4d3e0a1ed6c069b5dae7cbab3ed2a*
When
Hi Ian,
This problem is somewhat resolved for me now. Gollvm works perfectly in my
fresh installed Debian.
Maybe Go and Gollvm has some conflicts in my previous build or Ubuntu got
some problem.
Thanks a lot for your help.
Khanh
On Tuesday, March 16, 2021 at 7:53:34 AM UTC+8 Ian Lance Taylor
On Sat, Mar 13, 2021 at 4:51 PM Khanh TN wrote:
>
> Hi, Ian,
> It does look like importing golang.org/x/sys/unix causes the problem
> A simple go program like
>
> package main
>
> import (
> "fmt"
> "golang.org/x/sys/unix"
> )
>
> func main() {
>fmt.Println("Hello, World!")
Hi, Ian,
It does look like importing golang.org/x/sys/unix causes the problem
A simple go program like
package main
import (
"fmt"
"golang.org/x/sys/unix"
)
func main() {
fmt.Println("Hello, World!")
fmt.Println(unix.Getpagesize())
}
does cause the same error as
Hi Ian,
"gold --version" gives me "GNU gold (GNU Binutils for Ubuntu 2.34) 1.16"
"go list -m all" does list the module golang.org/x/sys. Does it help with
the case?
Thanks for your help.
Khanh
On Wednesday, March 10, 2021 at 11:14:19 AM UTC+8 Ian Lance Taylor wrote:
> I'm not sure. What
Ah, thanks. I see.
Let me investigate my case further. I will report back later, eh, if I
remember to.
Khanh
On Wednesday, March 10, 2021 at 11:14:19 AM UTC+8 Ian Lance Taylor wrote:
> On Tue, Mar 9, 2021 at 6:29 PM Khanh TN wrote:
> >
> > Thanks a lot for the fix!
> > I tried git pull all
On Tue, Mar 9, 2021 at 6:29 PM Khanh TN wrote:
>
> Thanks a lot for the fix!
> I tried git pull all the repos and reinstalled gollvm and I can run "go" now.
>
> However there are still problems.
> I am trying "go build" on some of my go code. Some build just fine.
> But there is one piece of code
Thanks a lot for the fix!
I tried git pull all the repos and reinstalled gollvm and I can run "go"
now.
However there are still problems.
I am trying "go build" on some of my go code. Some build just fine.
But there is one piece of code that "go build" gives this error:
"/usr/bin/ld.gold: error:
To clarify, I got an error on step "Using an installed copy of gollvm" of
page https://go.googlesource.com/gollvm
On Wednesday, March 10, 2021 at 1:21:46 AM UTC+8 Khanh TN wrote:
> Hi, I'm a newbie.
> I built and installed gollvm with instructions from
> https://go.googlesource.com/gollvm
>
Looks like the same error as this one
https://github.com/golang/go/issues/44861 . I'm just looking at their first
comment on github, ignoring the lengthy bug report.
On Wednesday, March 10, 2021 at 1:21:46 AM UTC+8 Khanh TN wrote:
> Hi, I'm a newbie.
> I built and installed gollvm with
13 matches
Mail list logo