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

FS#2957 - openwrt 19.07 x86_64 sdk toolchain segmentation fault issue #7735

Open
openwrt-bot opened this issue Apr 3, 2020 · 4 comments
Open
Labels
flyspray release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release toolchain pull request/issue with toolchain related changes

Comments

@openwrt-bot
Copy link

pexcn:

Hi guys:

I found that the toolchain of openwrt 19.07 has some issues on x86_64 platform.

For example:

  1. I use [[https://downloads.openwrt.org/releases/19.07.2/targets/x86/64/openwrt-sdk-19.07.2-x86-64_gcc-7.5.0_musl.Linux-x86_64.tar.xz|this sdk]] to build [[https://github.com/shadowsocks/openwrt-shadowsocks|openwrt-shadowsocks]]
  2. Install the compiled ipk, run the command ss-local, will report a segmentation fault error.

This error only occurs on openwrt 19.07 x86_64 platform. 19.07 toolchain on other platforms does not have this error, and the 18.06 version of the toolchain on the x86_64 platform also has no such errors.

@openwrt-bot
Copy link
Author

pexcn:

This is my build script: https://github.com/openwrt-dev/feeds/blob/master/build.sh

@openwrt-bot
Copy link
Author

ynezz:

I've just tried ss-local from ss available in the package feeds on x86/64 snapshot and it doesnt segfault. That package is built with the SDK as well. I'm too lazy to check this on 19.07.2, sorry.

@openwrt-bot
Copy link
Author

pexcn:

Hi Petr Štetiar:

Can you try this version? https://github.com/openwrt-dev/feeds/blob/f90533051dbc229362628ba56e3dd4d349ce1da4/base/shadowsocks-libev_3.3.4-1_x86_64.ipk that was build from sdk 19.07.2

@openwrt-bot
Copy link
Author

pexcn:

UPDATE:
segmentation fault only when build with static link, my build commands:

make package/openwrt-shadowsocks/compile V=s
CONFIG_SHADOWSOCKS_STATIC_LINK=y
CONFIG_SHADOWSOCKS_WITH_EV=y
CONFIG_SHADOWSOCKS_WITH_PCRE=y
CONFIG_SHADOWSOCKS_WITH_CARES=y
CONFIG_SHADOWSOCKS_WITH_SODIUM=y
CONFIG_SHADOWSOCKS_WITH_MBEDTLS=y

@aparcar aparcar added release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release toolchain pull request/issue with toolchain related changes labels Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release toolchain pull request/issue with toolchain related changes
Projects
None yet
Development

No branches or pull requests

2 participants