FAQ
I am not sure what is the status of the ARM port, but I was using 1.0.3 on
a ARM5 NAS I have and it was working without issues. I downloaded the 1.1
source code and executed all.bash. Everything went ok until I got this when
it was running the tests:

[...]
ok crypto/hmac 0.069s
ok crypto/md5 0.065s
SIGILL: illegal instruction
PC=0x4e5154


goroutine 1 [semacquire]:
sync.runtime_Semacquire(0x10c8ed88)
/usr/local/go/src/pkg/runtime/zsema_linux_arm.c:165 +0x30
sync.(*WaitGroup).Wait(0x10cfd940)
/usr/local/go/src/pkg/sync/waitgroup.go:109 +0x118
main.(*builder).do(0x108573c0, 0x10d028c0)
/usr/local/go/src/cmd/go/build.go:715 +0x428
main.runTest(0x4df438, 0x10668010, 0x3, 0x3)
/usr/local/go/src/cmd/go/test.go:330 +0x1ff8
main.main()
/usr/local/go/src/cmd/go/main.go:156 +0x4ec

goroutine 2 [syscall]:

goroutine 4 [syscall]:
created by os/signal.init·1
/usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x44

goroutine 6 [running]:
syscall.Syscall()
/usr/local/go/src/pkg/syscall/asm_linux_arm.s:15 +0x8
created by main.(*builder).do
/usr/local/go/src/cmd/go/build.go:712 +0x40c

goroutine 26 [finalizer wait]:

goroutine 14 [chan receive]:
main.func·026()
/usr/local/go/src/cmd/go/signal.go:21 +0x34
created by main.processSignals
/usr/local/go/src/cmd/go/signal.go:23 +0xc0

trap 0x6
error 0x0
oldmask 0x0
r0 0x1
r1 0x40dfcd80
r2 0x40dfc954
r3 0x9e4a0046
r4 0x12fe131d
r5 0x4e5154
r6 0x1
r7 0xf0
r8 0x2
r9 0x1066f400
r10 0x1065f360
fp 0x2b
ip 0x400b59f0
sp 0x40dfc95c
lr 0x7f0e0
pc 0x4e5154
cpsr 0x80000010
fault 0x0

Should I open a bug about this? For reference, this is the output of uname
-a:

Linux blindio 2.6.32-5-kirkwood #1 Sun May 6 16:57:51 UTC 2012 armv5tel
GNU/Linux

I did set GOARM=5 before compiling.

-Bruno

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Dave Cheney at May 14, 2013 at 6:59 pm
    Please open a bug, this looks very much like GOARM=5 was not set.
    Having said that this should not be required as the build process
    attempts to figure out your processor during the build bootstrap
    phase.

    Can you please include a copy of

    /proc/cpuinfo
    /proc/cpu/alignment

    and anything relevant from dmesg (again it will be complaining about alignment)


    On Wed, May 15, 2013 at 3:30 AM, Bruno Albuquerque wrote:
    I am not sure what is the status of the ARM port, but I was using 1.0.3 on a
    ARM5 NAS I have and it was working without issues. I downloaded the 1.1
    source code and executed all.bash. Everything went ok until I got this when
    it was running the tests:

    [...]
    ok crypto/hmac 0.069s
    ok crypto/md5 0.065s
    SIGILL: illegal instruction
    PC=0x4e5154


    goroutine 1 [semacquire]:
    sync.runtime_Semacquire(0x10c8ed88)
    /usr/local/go/src/pkg/runtime/zsema_linux_arm.c:165 +0x30
    sync.(*WaitGroup).Wait(0x10cfd940)
    /usr/local/go/src/pkg/sync/waitgroup.go:109 +0x118
    main.(*builder).do(0x108573c0, 0x10d028c0)
    /usr/local/go/src/cmd/go/build.go:715 +0x428
    main.runTest(0x4df438, 0x10668010, 0x3, 0x3)
    /usr/local/go/src/cmd/go/test.go:330 +0x1ff8
    main.main()
    /usr/local/go/src/cmd/go/main.go:156 +0x4ec

    goroutine 2 [syscall]:

    goroutine 4 [syscall]:
    created by os/signal.init·1
    /usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x44

    goroutine 6 [running]:
    syscall.Syscall()
    /usr/local/go/src/pkg/syscall/asm_linux_arm.s:15 +0x8
    created by main.(*builder).do
    /usr/local/go/src/cmd/go/build.go:712 +0x40c

    goroutine 26 [finalizer wait]:

    goroutine 14 [chan receive]:
    main.func·026()
    /usr/local/go/src/cmd/go/signal.go:21 +0x34
    created by main.processSignals
    /usr/local/go/src/cmd/go/signal.go:23 +0xc0

    trap 0x6
    error 0x0
    oldmask 0x0
    r0 0x1
    r1 0x40dfcd80
    r2 0x40dfc954
    r3 0x9e4a0046
    r4 0x12fe131d
    r5 0x4e5154
    r6 0x1
    r7 0xf0
    r8 0x2
    r9 0x1066f400
    r10 0x1065f360
    fp 0x2b
    ip 0x400b59f0
    sp 0x40dfc95c
    lr 0x7f0e0
    pc 0x4e5154
    cpsr 0x80000010
    fault 0x0

    Should I open a bug about this? For reference, this is the output of uname
    -a:

    Linux blindio 2.6.32-5-kirkwood #1 Sun May 6 16:57:51 UTC 2012 armv5tel
    GNU/Linux

    I did set GOARM=5 before compiling.

    -Bruno


    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Bruno Albuquerque at May 14, 2013 at 8:07 pm
    Done: https://code.google.com/p/go/issues/detail?id=5466

    -Bruno



    2013/5/14 Dave Cheney <dave@cheney.net>
    Please open a bug, this looks very much like GOARM=5 was not set.
    Having said that this should not be required as the build process
    attempts to figure out your processor during the build bootstrap
    phase.

    Can you please include a copy of

    /proc/cpuinfo
    /proc/cpu/alignment

    and anything relevant from dmesg (again it will be complaining about
    alignment)


    On Wed, May 15, 2013 at 3:30 AM, Bruno Albuquerque wrote:
    I am not sure what is the status of the ARM port, but I was using 1.0.3 on a
    ARM5 NAS I have and it was working without issues. I downloaded the 1.1
    source code and executed all.bash. Everything went ok until I got this when
    it was running the tests:

    [...]
    ok crypto/hmac 0.069s
    ok crypto/md5 0.065s
    SIGILL: illegal instruction
    PC=0x4e5154


    goroutine 1 [semacquire]:
    sync.runtime_Semacquire(0x10c8ed88)
    /usr/local/go/src/pkg/runtime/zsema_linux_arm.c:165 +0x30
    sync.(*WaitGroup).Wait(0x10cfd940)
    /usr/local/go/src/pkg/sync/waitgroup.go:109 +0x118
    main.(*builder).do(0x108573c0, 0x10d028c0)
    /usr/local/go/src/cmd/go/build.go:715 +0x428
    main.runTest(0x4df438, 0x10668010, 0x3, 0x3)
    /usr/local/go/src/cmd/go/test.go:330 +0x1ff8
    main.main()
    /usr/local/go/src/cmd/go/main.go:156 +0x4ec

    goroutine 2 [syscall]:

    goroutine 4 [syscall]:
    created by os/signal.init·1
    /usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x44

    goroutine 6 [running]:
    syscall.Syscall()
    /usr/local/go/src/pkg/syscall/asm_linux_arm.s:15 +0x8
    created by main.(*builder).do
    /usr/local/go/src/cmd/go/build.go:712 +0x40c

    goroutine 26 [finalizer wait]:

    goroutine 14 [chan receive]:
    main.func·026()
    /usr/local/go/src/cmd/go/signal.go:21 +0x34
    created by main.processSignals
    /usr/local/go/src/cmd/go/signal.go:23 +0xc0

    trap 0x6
    error 0x0
    oldmask 0x0
    r0 0x1
    r1 0x40dfcd80
    r2 0x40dfc954
    r3 0x9e4a0046
    r4 0x12fe131d
    r5 0x4e5154
    r6 0x1
    r7 0xf0
    r8 0x2
    r9 0x1066f400
    r10 0x1065f360
    fp 0x2b
    ip 0x400b59f0
    sp 0x40dfc95c
    lr 0x7f0e0
    pc 0x4e5154
    cpsr 0x80000010
    fault 0x0

    Should I open a bug about this? For reference, this is the output of uname
    -a:

    Linux blindio 2.6.32-5-kirkwood #1 Sun May 6 16:57:51 UTC 2012 armv5tel
    GNU/Linux

    I did set GOARM=5 before compiling.

    -Bruno


    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Bruno Albuquerque at May 14, 2013 at 8:08 pm
    And, juts to reiterate, GOARM=5 was set (and exported). Note that go fully
    compiled and dozens of tests passed before this failure.



    2013/5/14 Bruno Albuquerque <bga@bug-br.org.br>
    Done: https://code.google.com/p/go/issues/detail?id=5466

    -Bruno



    2013/5/14 Dave Cheney <dave@cheney.net>
    Please open a bug, this looks very much like GOARM=5 was not set.
    Having said that this should not be required as the build process
    attempts to figure out your processor during the build bootstrap
    phase.

    Can you please include a copy of

    /proc/cpuinfo
    /proc/cpu/alignment

    and anything relevant from dmesg (again it will be complaining about
    alignment)



    On Wed, May 15, 2013 at 3:30 AM, Bruno Albuquerque <bga@bug-br.org.br>
    wrote:
    I am not sure what is the status of the ARM port, but I was using 1.0.3 on a
    ARM5 NAS I have and it was working without issues. I downloaded the 1.1
    source code and executed all.bash. Everything went ok until I got this when
    it was running the tests:

    [...]
    ok crypto/hmac 0.069s
    ok crypto/md5 0.065s
    SIGILL: illegal instruction
    PC=0x4e5154


    goroutine 1 [semacquire]:
    sync.runtime_Semacquire(0x10c8ed88)
    /usr/local/go/src/pkg/runtime/zsema_linux_arm.c:165 +0x30
    sync.(*WaitGroup).Wait(0x10cfd940)
    /usr/local/go/src/pkg/sync/waitgroup.go:109 +0x118
    main.(*builder).do(0x108573c0, 0x10d028c0)
    /usr/local/go/src/cmd/go/build.go:715 +0x428
    main.runTest(0x4df438, 0x10668010, 0x3, 0x3)
    /usr/local/go/src/cmd/go/test.go:330 +0x1ff8
    main.main()
    /usr/local/go/src/cmd/go/main.go:156 +0x4ec

    goroutine 2 [syscall]:

    goroutine 4 [syscall]:
    created by os/signal.init·1
    /usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x44

    goroutine 6 [running]:
    syscall.Syscall()
    /usr/local/go/src/pkg/syscall/asm_linux_arm.s:15 +0x8
    created by main.(*builder).do
    /usr/local/go/src/cmd/go/build.go:712 +0x40c

    goroutine 26 [finalizer wait]:

    goroutine 14 [chan receive]:
    main.func·026()
    /usr/local/go/src/cmd/go/signal.go:21 +0x34
    created by main.processSignals
    /usr/local/go/src/cmd/go/signal.go:23 +0xc0

    trap 0x6
    error 0x0
    oldmask 0x0
    r0 0x1
    r1 0x40dfcd80
    r2 0x40dfc954
    r3 0x9e4a0046
    r4 0x12fe131d
    r5 0x4e5154
    r6 0x1
    r7 0xf0
    r8 0x2
    r9 0x1066f400
    r10 0x1065f360
    fp 0x2b
    ip 0x400b59f0
    sp 0x40dfc95c
    lr 0x7f0e0
    pc 0x4e5154
    cpsr 0x80000010
    fault 0x0

    Should I open a bug about this? For reference, this is the output of uname
    -a:

    Linux blindio 2.6.32-5-kirkwood #1 Sun May 6 16:57:51 UTC 2012 armv5tel
    GNU/Linux

    I did set GOARM=5 before compiling.

    -Bruno


    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Minux at May 14, 2013 at 8:09 pm

    On Wed, May 15, 2013 at 1:30 AM, Bruno Albuquerque wrote:

    I am not sure what is the status of the ARM port, but I was using 1.0.3 on
    a ARM5 NAS I have and it was working without issues. I downloaded the 1.1
    source code and executed all.bash. Everything went ok until I got this when
    it was running the tests:

    [...]
    ok crypto/hmac 0.069s
    ok crypto/md5 0.065s
    SIGILL: illegal instruction
    PC=0x4e5154


    goroutine 1 [semacquire]:
    sync.runtime_Semacquire(0x10c8ed88)
    /usr/local/go/src/pkg/runtime/zsema_linux_arm.c:165 +0x30
    sync.(*WaitGroup).Wait(0x10cfd940)
    /usr/local/go/src/pkg/sync/waitgroup.go:109 +0x118
    main.(*builder).do(0x108573c0, 0x10d028c0)
    /usr/local/go/src/cmd/go/build.go:715 +0x428
    main.runTest(0x4df438, 0x10668010, 0x3, 0x3)
    /usr/local/go/src/cmd/go/test.go:330 +0x1ff8
    main.main()
    /usr/local/go/src/cmd/go/main.go:156 +0x4ec

    goroutine 2 [syscall]:

    goroutine 4 [syscall]:
    created by os/signal.init·1
    /usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x44

    goroutine 6 [running]:
    syscall.Syscall()
    /usr/local/go/src/pkg/syscall/asm_linux_arm.s:15 +0x8
    created by main.(*builder).do
    /usr/local/go/src/cmd/go/build.go:712 +0x40c

    goroutine 26 [finalizer wait]:

    goroutine 14 [chan receive]:
    main.func·026()
    /usr/local/go/src/cmd/go/signal.go:21 +0x34
    created by main.processSignals
    /usr/local/go/src/cmd/go/signal.go:23 +0xc0

    trap 0x6
    error 0x0
    oldmask 0x0
    r0 0x1
    r1 0x40dfcd80
    r2 0x40dfc954
    r3 0x9e4a0046
    r4 0x12fe131d
    r5 0x4e5154
    r6 0x1
    r7 0xf0
    r8 0x2
    r9 0x1066f400
    r10 0x1065f360
    fp 0x2b
    ip 0x400b59f0
    sp 0x40dfc95c
    lr 0x7f0e0
    pc 0x4e5154
    cpsr 0x80000010
    fault 0x0

    Should I open a bug about this? For reference, this is the output of uname
    -a:

    Linux blindio 2.6.32-5-kirkwood #1 Sun May 6 16:57:51 UTC 2012 armv5tel
    GNU/Linux

    I did set GOARM=5 before compiling.
    Could you please
    export GOTRACEBACK=2
    before executing all.bash? I'd like to see where does the illegal
    instruction come from,
    seems it's from sync/atomic trying to use LDREXD/STREXD?

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Bruno Albuquerque at May 14, 2013 at 8:15 pm
    Will do. The NAs is a bit on the slow side, so it will take a while. I will
    reply here as soon as I have the information.



    2013/5/14 minux <minux.ma@gmail.com>
    On Wed, May 15, 2013 at 1:30 AM, Bruno Albuquerque wrote:

    I am not sure what is the status of the ARM port, but I was using 1.0.3
    on a ARM5 NAS I have and it was working without issues. I downloaded the
    1.1 source code and executed all.bash. Everything went ok until I got this
    when it was running the tests:

    [...]
    ok crypto/hmac 0.069s
    ok crypto/md5 0.065s
    SIGILL: illegal instruction
    PC=0x4e5154


    goroutine 1 [semacquire]:
    sync.runtime_Semacquire(0x10c8ed88)
    /usr/local/go/src/pkg/runtime/zsema_linux_arm.c:165 +0x30
    sync.(*WaitGroup).Wait(0x10cfd940)
    /usr/local/go/src/pkg/sync/waitgroup.go:109 +0x118
    main.(*builder).do(0x108573c0, 0x10d028c0)
    /usr/local/go/src/cmd/go/build.go:715 +0x428
    main.runTest(0x4df438, 0x10668010, 0x3, 0x3)
    /usr/local/go/src/cmd/go/test.go:330 +0x1ff8
    main.main()
    /usr/local/go/src/cmd/go/main.go:156 +0x4ec

    goroutine 2 [syscall]:

    goroutine 4 [syscall]:
    created by os/signal.init·1
    /usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x44

    goroutine 6 [running]:
    syscall.Syscall()
    /usr/local/go/src/pkg/syscall/asm_linux_arm.s:15 +0x8
    created by main.(*builder).do
    /usr/local/go/src/cmd/go/build.go:712 +0x40c

    goroutine 26 [finalizer wait]:

    goroutine 14 [chan receive]:
    main.func·026()
    /usr/local/go/src/cmd/go/signal.go:21 +0x34
    created by main.processSignals
    /usr/local/go/src/cmd/go/signal.go:23 +0xc0

    trap 0x6
    error 0x0
    oldmask 0x0
    r0 0x1
    r1 0x40dfcd80
    r2 0x40dfc954
    r3 0x9e4a0046
    r4 0x12fe131d
    r5 0x4e5154
    r6 0x1
    r7 0xf0
    r8 0x2
    r9 0x1066f400
    r10 0x1065f360
    fp 0x2b
    ip 0x400b59f0
    sp 0x40dfc95c
    lr 0x7f0e0
    pc 0x4e5154
    cpsr 0x80000010
    fault 0x0

    Should I open a bug about this? For reference, this is the output of
    uname -a:

    Linux blindio 2.6.32-5-kirkwood #1 Sun May 6 16:57:51 UTC 2012 armv5tel
    GNU/Linux

    I did set GOARM=5 before compiling.
    Could you please
    export GOTRACEBACK=2
    before executing all.bash? I'd like to see where does the illegal
    instruction come from,
    seems it's from sync/atomic trying to use LDREXD/STREXD?
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Minux at May 14, 2013 at 8:17 pm

    On Wed, May 15, 2013 at 4:15 AM, Bruno Albuquerque wrote:

    Will do. The NAs is a bit on the slow side, so it will take a while. I
    will reply here as soon as I have the information.
    I just commented a quicker way to gather required info on the issue tracker
    so you don't need to recompile everything (just be sure to use the same
    bin/go binary that trigger the panic).

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedMay 14, '13 at 5:31p
activeMay 14, '13 at 8:17p
posts7
users3
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase