mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #4104] armv6l not supported anymore since 0.55.0? #3239
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3239
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fgenoese on GitHub (Mar 24, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4104
Bug Description
Running frpc 0.55.0 or later on armv6l (Raspberry Pi) results in the following error, irrespective of the configuration:
Illegal instructionThe version 0.54.0 executes without problems. I noticed that the 0.55.0 changelog reports that "the minimum supported Go version has been updated to 1.22". Could this be part of the origin of the problem?
frpc Version
0.55.0
frps Version
0.55.0
System Architecture
linux/armv6l
Configurations
NA
Logs
Illegal instructionSteps to reproduce
No response
Affected area
@fatedier commented on GitHub (Mar 28, 2024):
I'm not sure, you can try compiling the code of version v0.54 with Go 1.22 first to see if the issue can be reproduced
@github-actions[bot] commented on GitHub (Apr 19, 2024):
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@fgenoese commented on GitHub (Apr 19, 2024):
How would I do this?
@YtnbFirewings commented on GitHub (Apr 24, 2024):
same error in asus rt ac68u, armv7l
@YtnbFirewings commented on GitHub (Apr 25, 2024):
看了下log,浮点指令支持的问题
在不支持硬件浮点指令的cpu上会crash
编译时使用软件模拟浮点指令应该能解决
https://github.com/golang/go/issues/61588
测试版本:0.55.1
crash所属函数runtime.check
代码片段,加粗的行为crash指令
.text:0006BA3C LDR R1, [R10,#8]
.text:0006BA40 CMP SP, R1
.text:0006BA44 BLS loc_6BF00
.text:0006BA48 STR LR, [SP,#var_38]!
.text:0006BA4C MOV R0, #0
.text:0006BA50 STR R0, [SP,#0x38+var_4]
.text:0006BA54 VMOV.F32 S0, #1.0
.text:0006BA58 VSUB.F32 S0, S0, S0
.text:0006BA5C VSTR S0, [SP,#0x38+var_8]
.text:0006BA60 VSTR S0, [SP,#0x38+var_C]
.text:0006BA64 VMOV.F64 D0, #1.0
.text:0006BA68 VSUB.F64 D0, D0, D0
log
Apr 25 10:34:35 kernel: frpc/21717: potentially unexpected fatal signal 4.
Apr 25 10:34:35 kernel: Pid: 21717, comm: frpc
Apr 25 10:34:35 kernel: CPU: 1 Tainted: P (2.6.36.4brcmarm #1)
Apr 25 10:34:35 kernel: PC is at 0x6ba54
Apr 25 10:34:35 kernel: LR is at 0x93bc8
Apr 25 10:34:35 kernel: pc : [<0006ba54>] lr : [<00093bc8>] psr: 20000010
Apr 25 10:34:35 kernel: sp : bee46cf8 ip : cafebabe fp : 00c6198c
Apr 25 10:34:35 kernel: r10: 00c62c88 r9 : 00000000 r8 : 00c63aa0
Apr 25 10:34:35 kernel: r7 : 00000014 r6 : 00000000 r5 : 00000000 r4 : 00000000
Apr 25 10:34:35 kernel: r3 : 00000000 r2 : 00000000 r1 : bee37138 r0 : 00000000
Apr 25 10:34:35 kernel: Flags: nzCv IRQs on FIQs on Mode USER_32 ISA ARM Segment user
Apr 25 10:34:35 kernel: Control: 10c53c7d Table: 0715404a DAC: 00000015
@fatedier commented on GitHub (Apr 25, 2024):
@YtnbFirewings Can you try cross-compiling by yourself and post the compilation command that can run successfully?
@fatedier commented on GitHub (Apr 25, 2024):
@YtnbFirewings You can try with this
GOOS=linux GOARCH=arm GOARM=5@YtnbFirewings commented on GitHub (Apr 25, 2024):
I will try it later.
@YtnbFirewings commented on GitHub (Apr 25, 2024):
Build 0.55.1 source code in ubuntu 22.04 with
GOOS=linux GOARCH=arm GOARM=5, run in ASUS ac68u okfrpc.tar.gz
@fatedier commented on GitHub (Apr 25, 2024):
The compilation script has been modified. https://github.com/fatedier/frp/pull/4181
The linux_arm package for the next release will be compiled using GOARM=5 and should work properly.
Hard Float is separated as a standalone linux_arm_hf package, corresponding to GOARM=7.
@alexiskhoury commented on GitHub (Apr 28, 2024):
Hi
Can we have the pre-compiled binary for armv6l, I don't want to go through the whole compilation process.
Thanks in advance.