Qualcommax NSS Build

so I updated the repo for both openwrt and the nss-packages
I created a new repo

the nss_packages is using the branch main-6.1-qca

major change I decided to copy the directory structure of AU_LINUX_QSDK_NHSS.QSDK.12.4.5.R1_TARGET_ALL.12.4.501.052.016/qsdk/qca

as there was a lot of code to hack and instead of spending time creating patches i took the approach to directly edit the code ... later anyone can create patches and disable the "include/local-development.mk"

I am able to get ecm offload ethernet traffic. However a lot lot lot still to do ... @bitthief are you still there ? help :grin:

I don't think QCA has tested many of the packages and i get really why openwrt doesn't want to support all this stuff without any documentation... i had to use a lot of workarounds not the finest imho

2 Likes

I've tried to build with your latest repo but I've got this error.

/usr/bin/ld: insn-recog.cc:(.text+0x121945): undefined reference to `gen_split_57(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1219aa): undefined reference to `gen_split_7(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121a3a): undefined reference to `gen_split_4(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121aa1): undefined reference to `gen_split_8(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121b1c): undefined reference to `gen_split_47(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121b4b): undefined reference to `gen_split_71(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121b9f): undefined reference to `gen_split_2190(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121c0f): undefined reference to `gen_split_2153(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121c3e): undefined reference to `gen_split_74(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121c92): undefined reference to `gen_split_2157(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121d0a): undefined reference to `gen_split_2187(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121d7d): undefined reference to `gen_split_2154(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121dd1): undefined reference to `gen_split_2191(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121e25): undefined reference to `gen_split_2158(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121e92): undefined reference to `gen_split_54(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121eca): undefined reference to `gen_split_33(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121f2f): undefined reference to `gen_split_1086(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121f73): undefined reference to `gen_split_1085(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121fb7): undefined reference to `gen_split_1084(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x121ffb): undefined reference to `gen_split_1083(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12203f): undefined reference to `gen_split_1082(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x122083): undefined reference to `gen_split_1081(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1220c7): undefined reference to `gen_split_1080(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12210b): undefined reference to `gen_split_1079(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12214f): undefined reference to `gen_split_1078(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x122193): undefined reference to `gen_split_1087(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1221e7): undefined reference to `gen_split_2198(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x122232): undefined reference to `gen_split_2195(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12227d): undefined reference to `gen_split_2168(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1222c8): undefined reference to `gen_split_2174(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12230b): undefined reference to `gen_split_689(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12234c): undefined reference to `gen_split_694(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12238d): undefined reference to `gen_split_695(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1223d0): undefined reference to `gen_split_693(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1223fb): undefined reference to `gen_split_81(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x122464): undefined reference to `gen_split_6(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1224cd): undefined reference to `gen_split_2(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x122536): undefined reference to `gen_split_1(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12259f): undefined reference to `gen_split_5(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12268b): undefined reference to `gen_split_35(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1226d6): undefined reference to `gen_split_2184(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x122721): undefined reference to `gen_split_2188(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x122813): undefined reference to `gen_split_79(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12285e): undefined reference to `gen_split_2155(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1228cd): undefined reference to `gen_split_43(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x122918): undefined reference to `gen_split_2151(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x122963): undefined reference to `gen_split_2185(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1229ae): undefined reference to `gen_split_2156(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1229f9): undefined reference to `gen_split_2189(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x122a44): undefined reference to `gen_split_2152(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x122a98): undefined reference to `gen_split_2183(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x122ac3): undefined reference to `gen_split_51(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x122b41): undefined reference to `gen_split_80(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x122b8c): undefined reference to `gen_split_2180(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x122bd7): undefined reference to `gen_split_2182(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.o: in function `split_insns(rtx_def*, rtx_insn*)':
insn-recog.cc:(.text+0x122ef8): undefined reference to `gen_split_633(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123067): undefined reference to `gen_split_23(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1230d4): undefined reference to `gen_split_24(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12318e): undefined reference to `gen_split_29(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123312): undefined reference to `gen_split_248(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12332d): undefined reference to `gen_split_289(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123347): undefined reference to `gen_split_279(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123361): undefined reference to `gen_split_293(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12337b): undefined reference to `gen_split_287(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123396): undefined reference to `gen_split_282(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1233b1): undefined reference to `gen_split_277(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1233cc): undefined reference to `gen_split_291(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1233e7): undefined reference to `gen_split_286(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123401): undefined reference to `gen_split_281(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12341b): undefined reference to `gen_split_276(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123436): undefined reference to `gen_split_290(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123451): undefined reference to `gen_split_297(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12346c): undefined reference to `gen_split_296(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123486): undefined reference to `gen_split_295(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1234a0): undefined reference to `gen_split_294(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1234bb): undefined reference to `gen_split_285(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1234d5): undefined reference to `gen_split_280(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1234ef): undefined reference to `gen_split_275(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12350a): undefined reference to `gen_split_298(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123524): undefined reference to `gen_split_288(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12353e): undefined reference to `gen_split_283(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123558): undefined reference to `gen_split_278(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123572): undefined reference to `gen_split_292(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12358d): undefined reference to `gen_split_284(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1235c1): undefined reference to `gen_split_139(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1235f5): undefined reference to `gen_split_138(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123629): undefined reference to `gen_split_137(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12365e): undefined reference to `gen_split_136(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123693): undefined reference to `gen_split_135(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1236c8): undefined reference to `gen_split_134(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1236fd): undefined reference to `gen_split_133(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123731): undefined reference to `gen_split_132(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123765): undefined reference to `gen_split_131(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123799): undefined reference to `gen_split_140(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123866): undefined reference to `gen_split_320(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1238b5): undefined reference to `gen_split_307(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1238fe): undefined reference to `gen_split_306(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123948): undefined reference to `gen_split_305(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1239b3): undefined reference to `gen_split_308(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1239fd): undefined reference to `gen_split_304(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123a17): undefined reference to `gen_split_273(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123a31): undefined reference to `gen_split_258(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123a4b): undefined reference to `gen_split_253(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123a65): undefined reference to `gen_split_267(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123a7f): undefined reference to `gen_split_262(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123a9a): undefined reference to `gen_split_257(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123ab5): undefined reference to `gen_split_252(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123ad0): undefined reference to `gen_split_266(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123aeb): undefined reference to `gen_split_261(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123b05): undefined reference to `gen_split_256(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123b1f): undefined reference to `gen_split_251(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123b3a): undefined reference to `gen_split_246(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123b55): undefined reference to `gen_split_245(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123b6f): undefined reference to `gen_split_244(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123b89): undefined reference to `gen_split_243(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123ba3): undefined reference to `gen_split_242(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123bbd): undefined reference to `gen_split_274(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123bd8): undefined reference to `gen_split_260(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123bf2): undefined reference to `gen_split_255(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123c0c): undefined reference to `gen_split_269(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123c27): undefined reference to `gen_split_264(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123c42): undefined reference to `gen_split_259(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123c5c): undefined reference to `gen_split_254(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123c76): undefined reference to `gen_split_268(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123c90): undefined reference to `gen_split_263(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123caa): undefined reference to `gen_split_272(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123cc5): undefined reference to `gen_split_271(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123ce0): undefined reference to `gen_split_270(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123cfb): undefined reference to `gen_split_265(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123dd5): undefined reference to `gen_split_678(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123e0e): undefined reference to `gen_split_677(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123e47): undefined reference to `gen_split_676(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123e80): undefined reference to `gen_split_675(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123eb8): undefined reference to `gen_split_674(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123ef0): undefined reference to `gen_split_673(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123f29): undefined reference to `gen_split_672(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123f62): undefined reference to `gen_split_671(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123f9a): undefined reference to `gen_split_670(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x123fd2): undefined reference to `gen_split_669(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12400a): undefined reference to `gen_split_668(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124042): undefined reference to `gen_split_667(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12407a): undefined reference to `gen_split_666(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1240b2): undefined reference to `gen_split_665(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1240ea): undefined reference to `gen_split_664(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124123): undefined reference to `gen_split_663(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12415c): undefined reference to `gen_split_662(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124195): undefined reference to `gen_split_661(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1241cd): undefined reference to `gen_split_679(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124225): undefined reference to `gen_split_31(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124256): undefined reference to `gen_split_314(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124281): undefined reference to `gen_split_318(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1242ab): undefined reference to `gen_split_316(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1242d6): undefined reference to `gen_split_317(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124301): undefined reference to `gen_split_315(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124358): undefined reference to `gen_split_22(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1243af): undefined reference to `gen_split_21(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124455): undefined reference to `gen_split_630(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124501): undefined reference to `gen_split_631(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1245a9): undefined reference to `gen_split_632(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1245d6): undefined reference to `gen_split_250(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12463c): undefined reference to `gen_split_322(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124683): undefined reference to `gen_split_32(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1246c9): undefined reference to `gen_split_30(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1246eb): undefined reference to `gen_split_300(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12470c): undefined reference to `gen_split_302(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12472e): undefined reference to `gen_split_299(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12474f): undefined reference to `gen_split_309(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124771): undefined reference to `gen_split_310(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124792): undefined reference to `gen_split_313(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1247b3): undefined reference to `gen_split_301(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1247d5): undefined reference to `gen_split_303(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1247f6): undefined reference to `gen_split_311(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124817): undefined reference to `gen_split_312(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124844): undefined reference to `gen_split_25(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124872): undefined reference to `gen_split_28(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x12489f): undefined reference to `gen_split_27(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1248cd): undefined reference to `gen_split_26(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1248ef): undefined reference to `gen_split_321(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124910): undefined reference to `gen_split_247(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124931): undefined reference to `gen_split_249(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124953): undefined reference to `gen_split_319(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x1249e3): undefined reference to `gen_split_432(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124a3d): undefined reference to `gen_split_428(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124a6b): undefined reference to `gen_split_70(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124abe): undefined reference to `gen_split_434(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124b11): undefined reference to `gen_split_433(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124b26): undefined reference to `gen_split_66(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124b7a): undefined reference to `gen_split_431(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124bce): undefined reference to `gen_split_430(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124c21): undefined reference to `gen_split_429(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124c75): undefined reference to `gen_split_435(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124c9e): undefined reference to `gen_split_69(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124cc7): undefined reference to `gen_split_68(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124cdb): undefined reference to `gen_split_65(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124cef): undefined reference to `gen_split_64(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124d1c): undefined reference to `gen_split_67(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124d84): undefined reference to `gen_split_62(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124d98): undefined reference to `gen_split_63(rtx_insn*, rtx_def**)'
/usr/bin/ld: insn-recog.cc:(.text+0x124dd8): undefined reference to `gen_split_61(rtx_insn*, rtx_def**)'
/usr/bin/ld: combine.o: in function `recog_for_combine_1(rtx_def**, rtx_insn*, rtx_def**)':
combine.cc:(.text+0x27e3): undefined reference to `add_clobbers(rtx_def*, int)'
/usr/bin/ld: rtl-ssa/changes.o: in function `recog_level2(rtl_ssa::insn_change&, std::function<bool (rtl_ssa::insn_change&, unsigned int)>)':
changes.cc:(.text+0x244): undefined reference to `add_clobbers(rtx_def*, int)'
/usr/bin/ld: aarch64-bti-insert.o: in function `(anonymous namespace)::pass_insert_bti::execute(function*)':
aarch64-bti-insert.cc:(.text+0xc3): undefined reference to `gen_bti_j()'
/usr/bin/ld: aarch64-bti-insert.cc:(.text+0xed): undefined reference to `gen_bti_j()'
/usr/bin/ld: aarch64-bti-insert.cc:(.text+0x1b9): undefined reference to `gen_bti_j()'
/usr/bin/ld: aarch64-bti-insert.cc:(.text+0x2c8): undefined reference to `gen_bti_c()'
collect2: error: ld returned 1 exit status
make[5]: *** [/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/c/Make-lang.in:87: cc1] Error 1
make[5]: Leaving directory '/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0-initial/gcc'
make[4]: *** [Makefile:4597: all-gcc] Error 2
make[4]: Leaving directory '/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0-initial'
make[3]: *** [Makefile:29: /home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0-initial/.built] Error 2
make[3]: Leaving directory '/home/debian/openwrt/toolchain/gcc/initial'
time: toolchain/gcc/initial/compile#1.42#2.11#3.51
    ERROR: toolchain/gcc/initial failed to build.
make[2]: *** [toolchain/Makefile:93: toolchain/gcc/initial/compile] Error 1
make[2]: Leaving directory '/home/debian/openwrt'
make[1]: *** [toolchain/Makefile:89: /home/debian/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/stamp/.toolchain_compile] Error 2
make[1]: Leaving directory '/home/debian/openwrt'

your build system has issues with the linker ...nothing I came across in the past

suggest you do the following
git clone https://github.com/rmandrad/openwrt.git -b qualcommax-nss-6.1 newdirectory
cd newdirectory
cp ax3600.config .config
make menuconfig and save
make -j4 V=sc download
make -j4 V=sc prepare
make -j4 V=sc

1 Like

That's what I did previous time just without
make prepare

I tried one more time starting from scratch.
Deleted old OpenWrt directory then created new one
This time I get the following error during make prepare

ind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Ic-family -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/c-family -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o c-family/c-semantics.o -MT c-family/c-semantics.o -MMD -MP -MF c-family/.deps/c-semantics.TPo /home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/c-family/c-semantics.cc
g++  -fno-PIE -c  -DIN_GCC_FRONTEND -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Ic-family -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/c-family -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o c-family/c-ada-spec.o -MT c-family/c-ada-spec.o -MMD -MP -MF c-family/.deps/c-ada-spec.TPo /home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/c-family/c-ada-spec.cc
g++  -fno-PIE -c  -DIN_GCC_FRONTEND -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Ic-family -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/c-family -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o c-family/c-ubsan.o -MT c-family/c-ubsan.o -MMD -MP -MF c-family/.deps/c-ubsan.TPo /home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/c-family/c-ubsan.cc
g++  -fno-PIE -c  -DIN_GCC_FRONTEND -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Ic-family -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/c-family -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o c-family/known-headers.o -MT c-family/known-headers.o -MMD -MP -MF c-family/.deps/known-headers.TPo /home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/c-family/known-headers.cc
g++  -fno-PIE -c  -DIN_GCC_FRONTEND -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Ic-family -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/c-family -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o c-family/c-attribs.o -MT c-family/c-attribs.o -MMD -MP -MF c-family/.deps/c-attribs.TPo /home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/c-family/c-attribs.cc
g++  -fno-PIE -c  -DIN_GCC_FRONTEND -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Ic-family -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/c-family -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o c-family/c-warn.o -MT c-family/c-warn.o -MMD -MP -MF c-family/.deps/c-warn.TPo /home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/c-family/c-warn.cc
g++  -fno-PIE -c  -DIN_GCC_FRONTEND -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Ic-family -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/c-family -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o c-family/c-spellcheck.o -MT c-family/c-spellcheck.o -MMD -MP -MF c-family/.deps/c-spellcheck.TPo /home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/c-family/c-spellcheck.cc
g++  -fno-PIE -c  -DIN_GCC_FRONTEND -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -I. -I. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace  \
        /home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/config/aarch64/aarch64-c.cc
g++  -fno-PIE -c  -DIN_GCC_FRONTEND -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o glibc-c.o -MT glibc-c.o -MMD -MP -MF ./.deps/glibc-c.TPo /home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/config/glibc-c.cc
g++  -fno-PIE -c   -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings  -Wno-unused -DHAVE_CONFIG_H -I. -I. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o gimple-match.o -MT gimple-match.o -MMD -MP -MF ./.deps/gimple-match.TPo gimple-match.cc
g++  -fno-PIE -c   -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings  -Wno-unused -DHAVE_CONFIG_H -I. -I. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o generic-match.o -MT generic-match.o -MMD -MP -MF ./.deps/generic-match.TPo generic-match.cc
g++  -fno-PIE -c   -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o insn-attrtab.o -MT insn-attrtab.o -MMD -MP -MF ./.deps/insn-attrtab.TPo insn-attrtab.cc
g++  -fno-PIE -c   -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o insn-emit.o -MT insn-emit.o -MMD -MP -MF ./.deps/insn-emit.TPo insn-emit.cc
g++  -fno-PIE -c   -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o insn-extract.o -MT insn-extract.o -MMD -MP -MF ./.deps/insn-extract.TPo insn-extract.cc
g++  -fno-PIE -c   -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o insn-output.o -MT insn-output.o -MMD -MP -MF ./.deps/insn-output.TPo insn-output.cc
g++  -fno-PIE -c   -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o insn-peep.o -MT insn-peep.o -MMD -MP -MF ./.deps/insn-peep.TPo insn-peep.cc
g++  -fno-PIE -c   -O2 -I/home/debian/openwrt/staging_dir/host/include  -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/. -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcpp/include -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libcody -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include -I/home/debian/openwrt/staging_dir/host/include  -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0/gcc/../libbacktrace   -o insn-recog.o -MT insn-recog.o -MMD -MP -MF ./.deps/insn-recog.TPo insn-recog.cc
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[5]: *** [Makefile:1143: insn-emit.o] Error 1
make[5]: *** Waiting for unfinished jobs....
rm gcc.pod
make[5]: Leaving directory '/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0-initial/gcc'
make[4]: *** [Makefile:4597: all-gcc] Error 2
make[4]: Leaving directory '/home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0-initial'
make[3]: *** [Makefile:29: /home/debian/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/gcc-12.3.0-initial/.built] Error 2
make[3]: Leaving directory '/home/debian/openwrt/toolchain/gcc/initial'
time: toolchain/gcc/initial/compile#1559.36#265.52#933.51
    ERROR: toolchain/gcc/initial failed to build.
make[2]: *** [toolchain/Makefile:93: toolchain/gcc/initial/compile] Error 1
make[2]: Leaving directory '/home/debian/openwrt'
make[1]: *** [toolchain/Makefile:89: /home/debian/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/stamp/.toolchain_compile] Error 2
make[1]: Leaving directory '/home/debian/openwrt'
make: *** [/home/debian/openwrt/include/toplevel.mk:232: prepare] Error 2

i follow same guide
show error, i not change anything still use default conf, (ax3600)
OS: fedora 38

git clone https://github.com/rmandrad/openwrt.git -b qualcommax-nss-6.1 newdirectory
cd newdirectory
cp ax3600.config .config
make menuconfig and save
make -j4 V=sc download
make -j4 V=sc prepare <-- error in this step

btw what i check from your build the nss packages only 1, is it correct?
image

i also do compare with my running snapshot version (6.1.38 / OpenWrt SNAPSHOT r23530-0e83b5e6cc / LuCI Master git-23.158.78004-23a246e) and found same packages.
i not advance tech guy, is the snapshot now ready with nss pacakges?
image

i will try to reproduce the issue on my system by cloning into a new directory
... the HW offloading is not available on openwrt. The package that enables hw offloading is the qca-nss-ecm also there is crypto accel that uses the qca-nss-crypto and qca-nss-cfi

1 Like

ok got what the issue is with the build of the toolchain I am getting the following
'cc1plus: error: command-line option '-Wno-discarded-qualifiers' is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command-line option '-Wno-incompatible-pointer-types' is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command-line option '-Wno-declaration-after-statement' is valid for C/ObjC but not for C++ [-Werror]'

the above options were supposed to fix a number of kernel compile issues I came across when bringing the qca code into the kernel. So I will need to fix each code individually ... or otherwise one can bring these parameters after "make prepare"

thank you for testing...harder challenge than I thought :wink:

2 Likes

I have been able to reproduce your build by a dirty hack:

make menuconfig

remove -Wno-discarded-qualifiers -Wno-incompatible-pointer-types -Wno-declaration-after-statement from additional compiler options
save config

make prepare

it creates the toolchain, may fail elsewhere.
Then just reintroduce the same compiler options you've just removed.

make

PS. It is also possible to manually edit libitm's Makefile to remove wrongfully added CXXFLAGS and CPPFLAGS -Wno-discarded-qualifiers -Wno-incompatible-pointer-types -Wno-declaration-after-statement

2 Likes

i removed the extra settings for CONFIG_EXTRA_OPTIMIZATION if you have a chance to refresh your builds pls go ahead make sure you delete build_dir/target-aarch64_cortex-a53_musl and build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl before going ahead and to any make or start fresh

1 Like

welcome @zkaradi to the openwrt forum :grin:

Thanks, I can not remember how long I have been using Openwrt but much more than a decade, never needed to write to the forum others solved issues before me. But it's never late to join though... :smiley:

4 Likes

welcome to have fun :slight_smile:

I've finally compiled successfully with NSS qca-nss-ecm. I had to compile several times changing compile settings and .config.
Thanks @rmandrad and @zkaradi .

But I think NSS offloading doesn't work because when I do a speedtest via LAN PC I still see the same CPU load as with Non-NSS builds. I didn't have any CPU load when I tested AgustinLorenzo's NSS prebuilt image for QHora-301W.
My WAN connection is DHCP.
I think I still need to fine tune some settings.
Probably I made another mistake because WLAN wasn't working either. I just removed Ath10k firmware options cause I think they are not needed for QHora-301W, right.
I saw this in logs.

[   42.455811] ath11k c000000.wifi: failed to fetch board data for bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=QNAP-301w from ath11k/IPQ8074/hw2.0/board-2.bin
[   42.455870] ath11k c000000.wifi: failed to fetch board data for bus=ahb,qmi-chip-id=0,qmi-board-id=255 from ath11k/IPQ8074/hw2.0/board-2.bin
[   42.468966] ath11k c000000.wifi: failed to fetch board.bin from IPQ8074/hw2.0
[   42.481675] ath11k c000000.wifi: qmi failed to fetch board file: -12
[   42.488695] ath11k c000000.wifi: failed to load board data file: -12
1 Like

the Qnap (or QHORA-301W) dtsi didn't had the include for nss. It does now just pull the latest from the repo...

1 Like

I cannot find new dtsi file in qualcommax-qca-6.1.
Should I do git clone https://github.com/rmandrad/openwrt.git -b qualcommax-qca-6.1 again to my current working directory?
Actually I was working with this repo qualcommax-qca-6.1. Was it a wrong one?
Should I start from scratch with qualcommax-nss-6.1 repo.

yes sorry i am now using the branch qualcommax-nss-6.1

1 Like

i just do another test

test 1 (default config) (success)
git clone https://github.com/rmandrad/openwrt.git -b qualcommax-nss-6.1 newdirectory
cd newdirectory
cp ax3600.config .config
make menuconfig and save
make -j4 V=sc download
make -j4 V=sc prepare
make -j4 V=sc

test 2 (show error)

./scripts/feeds update -a
./scripts/feeds install -a
make menuconifg

change to AX6 add packages (netdata, tcpdump, luci, luci-ssl, luci-app-mwan3, luci-app-https-dns-proxy, luci-app-upnp, luci-app-adblock, luci-app-sqm, kmod-qca-nss-dp, kmod-qca-nss-drv, kmod-qca-nss-eip, kmod-qca-nss-eip-crypto, kmod-qca-nss-ppe, kmod-qca-nss-ppe-pppoe-mgr, kmod-qca-nss-ecm)



only these qca packages don't fail build

CONFIG_DEFAULT_kmod-qca-nss-dp=y
CONFIG_PACKAGE_kmod-qca-nss-cfi-cryptoapi=y
CONFIG_PACKAGE_kmod-qca-nss-crypto=y
CONFIG_PACKAGE_kmod-qca-nss-dp=y
CONFIG_PACKAGE_kmod-qca-nss-drv=y
CONFIG_PACKAGE_kmod-qca-nss-ecm=y

1 Like

It was a really long compiling marathon yesterday. More than 12 hours of compiling. Build completed flawlessly at the end. Thanks once again guys for the help.
Finally I sorted out the proper settings for QHora-301W so WLAN works. NSS surely works now - zero CPU load under speed tests 1G/0.7G.
There is one small "visual" glitch. Load average readings show 1.00 / 1.00 / 1.00.

In htop I don't see any unusual and high CPU load.

1 Like

only this packages works

list packages show error
image
kmod-qca-nss-eip/eip-crypto/eip-ipsec
kmod-qca-nss-ppe/nss-ppe-ppoe-mgr