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

node - cross compile fails #9616

Closed
leonardpitzu opened this issue Jul 31, 2019 · 1 comment
Closed

node - cross compile fails #9616

leonardpitzu opened this issue Jul 31, 2019 · 1 comment

Comments

@leonardpitzu
Copy link

Maintainer : @nxhack

Evnironment:

openwrt snapshot - r10572-209b368254
MacOS Mojave
Linksys WRT3200ACM

g++ -pthread -rdynamic -m64  -o /Volumes/work/openwrt/build_dir/hostpkg/node-v8.16.0/out/Release/genccode -Wl,--start-group /Volumes/work/openwrt/build_dir/hostpkg/node-v8.16.0/out/Release/obj.host/genccode/deps/icu-small/source/tools/genccode/genccode.o /Volumes/work/openwrt/build_dir/hostpkg/node-v8.16.0/out/Release/obj.host/genccode/tools/icu/no-op.o /Volumes/work/openwrt/build_dir/hostpkg/node-v8.16.0/out/Release/obj.host/tools/icu/libicutools.a  -Wl,--end-group
ld: unknown option: --start-group
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[5]: *** [/Volumes/work/openwrt/build_dir/hostpkg/node-v8.16.0/out/Release/genccode] Error 1
rm e92debf0388ae8bf60674f0e2d188a3e1a77a69c.intermediate
make[4]: *** [node] Error 2
nxhack added a commit to nxhack/packages that referenced this issue Aug 1, 2019
fix host build error on macOS
reference: openwrt#9616

Related: openwrt#7171
(This correspondence is necessary to build with macOS.)

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
@leonardpitzu
Copy link
Author

@nxhack proposed patch works as expected. thanks again.

@neheb neheb closed this as completed Aug 1, 2019
aparcar pushed a commit to aparcar/packages that referenced this issue Aug 27, 2019
fix host build error on macOS
reference: openwrt#9616

Related: openwrt#7171
(This correspondence is necessary to build with macOS.)

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
neheb pushed a commit that referenced this issue Sep 27, 2019
fix host build error on macOS
reference: #9616

Related: #7171
(This correspondence is necessary to build with macOS.)

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry-picked from c69d5a0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants