[Problem] How do I compile haproxy in HEAD for Archer C7 v2?

Hello

Trying to compile the current state of the tree for my Archer C7. The released source has problems with F2FS module causing kernel oopses. Therefore I wanted to attempt a newer source. But I need haproxy.

The error message at haproxy compilation

make[4]: Entering directory '/home/builder/lede/archerhead/build_dir/target-mips_24kc_musl/haproxy-ssl/haproxy-1.7.8'

mips-openwrt-linux-musl-gcc -g -o haproxy src/haproxy.o src/base64.o src/protocol.o src/uri_auth.o src/standard.o src/buffer.o src/log.o src/task.o src/chunk.o src/channel.o src/listener.o src/lru.o src/xxhash.o src/time.o src/fd.o src/pipe.o src/regex.o src/cfgparse.o src/server.o src/checks.o src/queue.o src/frontend.o src/proxy.o src/peers.o src/arg.o src/stick_table.o src/proto_uxst.o src/connection.o src/proto_http.o src/raw_sock.o src/backend.o src/tcp_rules.o src/lb_chash.o src/lb_fwlc.o src/lb_fwrr.o src/lb_map.o src/lb_fas.o src/stream_interface.o src/stats.o src/proto_tcp.o src/applet.o src/session.o src/stream.o src/hdr_idx.o src/ev_select.o src/signal.o src/acl.o src/sample.o src/memory.o src/freq_ctr.o src/auth.o src/proto_udp.o src/compression.o src/payload.o src/hash.o src/pattern.o src/map.o src/namespace.o src/mailers.o src/dns.o src/vars.o src/filters.o src/flt_http_comp.o src/flt_trace.o src/flt_spoe.o src/cli.o src/ev_poll.o src/ev_epoll.o src/ssl_sock.o src/shctx.o src/hlua.o src/hlua_fcn.o ebtree/ebtree.o ebtree/eb32tree.o ebtree/eb64tree.o ebtree/ebmbtree.o ebtree/ebsttree.o ebtree/ebimtree.o ebtree/ebistree.o -lcrypt -lz -ldl -lssl -lcrypto -ldl -Wl,--export-dynamic -L/home/builder/lede/archerhead/staging_dir/target-mips_24kc_musl/lua-5.3.3/lib -llua533 -lm -ldl -L/home/builder/lede/archerhead/staging_dir/target-mips_24kc_musl/usr//lib -lpcreposix -lpcre -lcrypto -lm

src/hlua.o: In function 'hlua_hook': /home/builder/lede/archerhead/build_dir/target-mips_24kc_musl/haproxy-ssl/haproxy-1.7.8/src/hlua.c:990:(.text+0x29c): Unsupported jump between ISA modes; consider recompiling with interlinking enabled /home/builder/lede/archerhead/build_dir/target-mips_24kc_musl/haproxy-ssl/haproxy-1.7.8/src/hlua.c:990:(.text+0x2fc): Unsupported jump between ISA modes; consider recompiling with interlinking enabled

src/hlua.o: In function 'hlua_checkfunction': /home/builder/lede/archerhead/build_dir/target-mips_24kc_musl/haproxy-ssl/haproxy-1.7.8/src/hlua.c:256:(.text+0xc7b4): Unsupported jump between ISA modes; consider recompiling with interlinking enabled

src/hlua.o: In function 'hlua_register_fetches': /home/builder/lede/archerhead/build_dir/target-mips_24kc_musl/haproxy-ssl/haproxy-1.7.8/src/hlua.c:5608:(.text+0xd428): Unsupported jump between ISA modes; consider recompiling with interlinking enabled

src/hlua.o: In function 'hlua_get_top_error_string': /home/builder/lede/archerhead/build_dir/target-mips_24kc_musl/haproxy-ssl/haproxy-1.7.8/src/hlua.c:266:(.text+0xd588): Unsupported jump between ISA modes; consider recompiling with interlinking enabled

src/hlua.o: In function 'hlua_yieldk': /home/builder/lede/archerhead/build_dir/target-mips_24kc_musl/haproxy-ssl/haproxy-1.7.8/src/hlua.c:829:(.text+0xd5ac): Unsupported jump between ISA modes; consider recompiling with interlinking enabled

src/hlua_fcn.o: In function 'hlua_checkboolean': /home/builder/lede/archerhead/build_dir/target-mips_24kc_musl/haproxy-ssl/haproxy-1.7.8/src/hlua_fcn.c:48:(.text+0x4e4): Unsupported jump between ISA modes; consider recompiling with interlinking enabled

src/hlua_fcn.o: In function 'hlua_pushstrippedstring': /home/builder/lede/archerhead/build_dir/target-mips_24kc_musl/haproxy-ssl/haproxy-1.7.8/src/hlua_fcn.c:142:(.text+0x974): Unsupported jump between ISA modes; consider recompiling with interlinking enabled

src/hlua_fcn.o: In function 'hlua_class_const_int': /home/builder/lede/archerhead/build_dir/target-mips_24kc_musl/haproxy-ssl/haproxy-1.7.8/src/hlua_fcn.c:157:(.text+0x9bc): Unsupported jump between ISA modes; consider recompiling with interlinking enabled

src/hlua_fcn.o: In function 'hlua_class_const_str': /home/builder/lede/archerhead/build_dir/target-mips_24kc_musl/haproxy-ssl/haproxy-1.7.8/src/hlua_fcn.c:163:(.text+0xa00): Unsupported jump between ISA modes; consider recompiling with interlinking enabled

src/hlua_fcn.o: In function 'hlua_class_function': /home/builder/lede/archerhead/build_dir/target-mips_24kc_musl/haproxy-ssl/haproxy-1.7.8/src/hlua_fcn.c:169:(.text+0xa48): Unsupported jump between ISA modes; consider recompiling with interlinking enabled

src/hlua_fcn.o: In function 'hlua_register_metatable': /home/builder/lede/archerhead/build_dir/target-mips_24kc_musl/haproxy-ssl/haproxy-1.7.8/src/hlua_fcn.c:212:(.text+0xb04): Unsupported jump between ISA modes; consider recompiling with interlinking enabled

collect2: error: ld returned 1 exit status Makefile:813: recipe for target 'haproxy' failed

I did file an issue in GitHub, here. But I'd wish to proceed with a quicker solution, if anyone can suggest anything. Also, is there an easy way to figure out why the problem appeared?

Don't use f2fs on C7V2, but you might have a go at the ar71xx kernel 4.9 patchset.

Why not? Is there a specific problem?

What will I achieve with it?

heh, I dropped the requisite pronoun, I, from my opening qualifier regarding f2fs, namely I don't use it, but....

That was simply a suggestion as a reply to

being as a fs is so intrinsic. If you don't want to have at, don't.