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

Linking error on Rust 1.72.0 x86_64-unknown-linux-musl toolchain #115430

Closed
ogarcia opened this issue Sep 1, 2023 · 11 comments
Closed

Linking error on Rust 1.72.0 x86_64-unknown-linux-musl toolchain #115430

ogarcia opened this issue Sep 1, 2023 · 11 comments
Labels
C-bug Category: This is a bug. O-musl Target: The musl libc regression-from-stable-to-stable Performance or correctness regression from one stable version to another.

Comments

@ogarcia
Copy link

ogarcia commented Sep 1, 2023

I have a project that currently compiles and links with Rust 1.71.0 and earlier but gives a linking error in version 1.72.0 with x86_64-unknown-linux-musl toolchain.

The failure occurs both when creating the debug version and the release version, in both versions it is not able to locate the sqlite3 library.

     Running `/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/bin/rustc --crate-name rockpass --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=211 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=eee0105e75d697ba -C extra-filename=-eee0105e75d697ba --out-dir /data/target/debug/deps -C incremental=/data/target/debug/incremental -L dependency=/data/target/debug/deps --extern base64=/data/target/debug/deps/libbase64-4437a52c2adcf81a.rlib --extern bcrypt=/data/target/debug/deps/libbcrypt-dde1d8774a059064.rlib --extern chrono=/data/target/debug/deps/libchrono-4ae2d74276bfccad.rlib --extern diesel=/data/target/debug/deps/libdiesel-7ff80dd4eed87eac.rlib --extern diesel_migrations=/data/target/debug/deps/libdiesel_migrations-94c56499386f950c.rlib --extern hmac=/data/target/debug/deps/libhmac-a4a2290271458b08.rlib --extern jwt=/data/target/debug/deps/libjwt-554da3f03d1e2df2.rlib --extern rocket=/data/target/debug/deps/librocket-ed4d209c1063c7b1.rlib --extern rocket_sync_db_pools=/data/target/debug/deps/librocket_sync_db_pools-118a11b6d115e106.rlib --extern sha2=/data/target/debug/deps/libsha2-71ede65644b93f69.rlib --extern uuid=/data/target/debug/deps/libuuid-593f32675f2bc974.rlib`
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/bin:/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/bin/self-contained:/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcGTjym6/symbols.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1015lj2b1yz3j3du.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.10lpd5a81b3itq1h.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.10r3to1on1rhcgrx.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.10vkmrteo3p41unm.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.11r9q3g0gkxmwfwf.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.11zhzdbpk45gidtd.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.13jxl3ykv8lr4hfy.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.14rgkl3f3g79s3iq.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1534trrf46c8qf7z.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.15w4p4ybd3bigk7c.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.18gf5ebauolzyffp.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1bdg4ysvgsz6mo9b.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1c7g0uqux5kmnycs.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1ced0h6z927h58vj.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1d9e8tpbf96bilji.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1dxw4tlpom7wmbco.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1fjklnau0pv15rgn.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1frxpy2ykgc3hhs7.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1fvcol3wl4s7v94f.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1ginrdtvca1u5wf8.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1gj4x0thh4drje8d.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1h3tzo41m1b7u2be.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1jtr9qnemuwyeik9.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1l5lwyb82xrs851k.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1lz2z8yh9htngr3r.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1mdj79lx39jclqqk.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1mqnupeaom9yh26h.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1nfov87s79qynhpg.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1osurrf2ckkh635c.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1py5ou9q59qhv0xc.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1ra6gtex7n6t2opp.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1ro7b27xfg0m3g7r.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1st74hi2cfbqgurh.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1sy3xmogwcxa3oww.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1tij07umdv2ps9ow.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1tj0ttoxy5ldfhx.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1vaega2tj62e49hc.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1vmbl7c6jbdyg4rp.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1vt8umdcl72co0ft.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1w1giffgucy043x8.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1wqrhqvj0rvh5wqw.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1wyooc63mc3sht4h.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1ynmj81nptl7624g.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.1ztfsl41r1ihwyd5.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2034dpsi7zwf80m5.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.20yoag91kkl6tyhx.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.21xzlldtb8g2veer.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2408stf5dyjwbsi6.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.24118z1w1xn87ah1.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.24jy6xk15rwvhhb2.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.25bsh9dhbdmq710y.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.26n49zs7tsa7lz6x.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.270svn8sdcjgk1cg.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2747yyb2ebglnj1l.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.27xhfd2e6zmzlo6i.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.28t48wcsmeg1wntm.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.28uqenpl9lwwkuyd.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.28v8q1b0euv26vj9.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.295of9l7clh4e2b.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2982mxduo6q7u30r.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.29y0lewbyia2u3kz.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2b2z4tn3f6qze7tt.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2btyjakmz1h8u5js.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2d0ef190xe1wltd5.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2f5xdq4b2sq3sdj4.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2fd2sdoy06q98jjc.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2iajhdq933bhpk10.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2j50dqrrkluzwdm7.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2kob0bzrunj7oejl.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2la7efjwqxnw157r.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2le5d2ia85g24d0f.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2mg6mzh24yjtdp8u.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2mzqdva71s0ptpxp.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2n4bbejqflp4cg85.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2nirwi8f4tti0oyd.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2nnypaqwbodbqm3g.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2nrizc9uk305bv22.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2ojl1xkcuhhnxldf.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2q33t6sxnyc1jgqz.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2q54vux17ffenrah.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2qaeoiskvivficn3.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2qrmvzeyi2vdzbiy.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2rgi7u2ygzz6i24c.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2rgywhe7m3otrax7.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2rmjasnkkxfhgboq.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2s0o8sz22yj7wo14.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2s3nhe6kwks9mylw.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2t0txk8hmbxnaqh5.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2tepdka4h3gu4fjc.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2ty3yvth84vyk4yk.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2u4hr52yechgufgy.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2uhmwhkthgnz5sg3.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2ulmway7iy2rlb20.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2uvx7upa7di8ot9q.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2uxwrbc5qy8kvyr0.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2w2ok3ysw10h9t6h.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2wnecjcp1br9lx7t.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2xb5r37w6ecsb2dh.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2xbtz0zxd0mx78k5.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2xk1jk32gwrwaqsw.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2yncnqalbcyvkcj0.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.2z7ia2i8zqm36geq.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.30ijonwehbna7bak.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.30jnfe7upcmqjpqu.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.32geedzbkeiytps.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.340ibgh5skxvglmo.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.34fhedaofon2ucd7.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.35abn1dq58kqb3qi.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.35f746vzcavlvr57.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.35xig4vcib7qwmfz.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.373o7yu7zlcmress.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3774mq0oael85p3y.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.379k4v5kicwit3sq.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.37hzf7gg8yumg9zo.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.37zbklssqb5dpi8n.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.38ubeyczv0704cfr.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.38vdb4a0amicwjdv.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.39fsy4hjtrarup2.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3axrvgcjg8xfxw1f.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3c6qekccwqzu01zn.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3cps0t0y1g9uorau.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3cx4xcs15je2dr2c.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3dnwayjd7eqb01vk.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3evaj7bf7r4n6tjb.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3himqjuk29o7joyd.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3hyk8zq6s4r7pjkb.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3iozcvao51qbsod4.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3j0ppt8ito3nziz4.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3jdfvstg9c4rmujd.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3jzfmc5w00xptszx.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3ln6vjy8v1qcvg7h.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3mte4dnbw4jrjg5d.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3n4hfqckdapr4kph.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3n6u2noxr94xtokg.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3osu45p1q0jmfv1z.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3ow8k9xmsa5aeob1.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3oz5q02q1w2g035e.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3q2pt8bdsi2ftp2j.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3q96ncg7eta6uac6.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3qilcljxvo0ww4eb.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3rvsv6l4qvczj51k.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3s3q8cp3fna1dnwo.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3u0pkhis8i4k61lx.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3u4yes8zlzsserzz.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3vuu9n50wkga1y2l.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3x5y3pya1b0b47by.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3yi4pml7aq5v97ga.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3yvc2oe3hq94oiys.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.3zjf88mgxikdpffj.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.40uefyuz5xtpxnlk.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.40z07yosba1y8bwn.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.41vzm6pgq91o9zjy.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.41y0elylctzmv0q3.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.42cmbgoqnxcvf5bo.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.42pth6eje1ndqhy4.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.431rxtgywobzek2g.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.43cqf4quwax2rrlu.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.43eehqnyrkq6p5ha.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.43hfh0iflre8x3yx.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.445pjmounrhtnv3y.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.44jpj17155h5ejk6.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.44mnasic240lmtjv.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.47stpm3c2qdz61us.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.47y641r5l3gsdx0z.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.498ugj8e25xhasiu.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4akd25hpviiyrn4v.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4b21eeltvx09k4xg.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4e13942j037ez0rm.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4hjtoxfk9okbiyh4.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4jbxx0iivglvslin.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4kx19x0pvpawkrj2.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4kx1hd7r9katsftg.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4lrqovpktmpgezfm.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4mihgysie1vjw7r6.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4oao5ujxwoi4kvtj.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4ogmg98zjc43pzci.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4pgny1s5rbsomw2r.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4plc0a1yo8u0edr9.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4qn662zz751oews1.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4r7b5z8r6qt7w89.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4rsajqivumfz66t3.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4sch7n14kjbm0qya.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4sm9jy8mukik2bd.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4suqr2o88qtr45rn.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4t1wev5pchlai668.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4ugf9ixtr2x9wo07.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4ugvaqwx9emba0pe.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4um4dzka1p7kjcsi.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4v9e62n06aq32727.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4ve2sf9y9jhb1mv9.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4vjf6id2yl9j6zoc.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4w4o55w146gwvbla.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4w8iskmb5bpgex3j.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4xr4r2umuygqu119.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4y8l6tnvurkfsylv.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4ygduv5hkaf7yfll.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4ywc7kenbmzw291j.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4zivs77lzyyuqxf6.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4zp5nolhdw15zlwf.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.51perr0kybfunyw8.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.51qdvdnjdgkq08z0.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.52vf2mzosnrnwi6w.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.53qd55mn97r76tvn.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.55dofcjis97iiuip.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.56y3plm9skrbhx70.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.58remqbpapocidy7.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.59ak209i0lrtb62s.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.59oj19eg530mgtg9.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.59t6ddkcnp3kkwva.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.59w8mkbkkqfg87d8.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.59ygz57nl96zm7rq.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.59z7j9u480okdhxl.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.5aswfbas70egp0bq.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.5bgj5992hhmyf3mr.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.5bl4qp1wm8sfpwru.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.5dx0ugmzdeh32fq3.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.5eht4lc7s3l7h8pi.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.5fm3y5blj6t1gnkc.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.5g52or595ihxltvq.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.5gccinlhuhqy5yab.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.5l9e5g2mye4tjc7.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.9a2s9a8qqamr9nn.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.9zcdv8el0pvzqga.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.a1l0g1j91oozvru.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.cfg3orit0bohupz.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.cupirs2nsqphzob.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.cw9rllzagogw52g.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.dosm4gyxo9sp171.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.duqdx7g9mx7b3le.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.e9dbt5r7mkf1vxv.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.eq63u5uyidazexn.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.h4lowef7wi8kwu9.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.jrav31xtwplho4p.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.jw8zhv29l7l99qu.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.k85wjy0tro2k4om.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.lopci2w4daiw778.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.m373r7zw9fmltso.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.nb1rwau7esq56df.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.o314svw2ewwt5cy.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.ocsu6shag1j8hzk.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.og9a3ph3nknezde.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.pwkdwzy1rhdq2d5.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.qmocwyxiqjuig9.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.ra41d3ghj67207j.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.rdq1i2f4p6cxdqq.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.u1ls00f2ft629z5.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.ujkfiavt365koj5.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.uzfikuitykok8th.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.wbfjtiapx04239v.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.wv2m2kltsvll3eo.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.y2f3hmps3asf3mq.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.y8dpxsrhdid4e5b.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.ybs3t16qn4cia1a.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.z9c7ex6znkmhxlm.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.zp1t5wh4xdmx2jq.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.zya1hreoey6yoo0.rcgu.o" "/data/target/debug/deps/rockpass-eee0105e75d697ba.4z9fqb2qluy8n8x5.rcgu.o" "-Wl,--as-needed" "-L" "/data/target/debug/deps" "-L" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib" "-Wl,-Bstatic" "/data/target/debug/deps/libdiesel_migrations-94c56499386f950c.rlib" "/data/target/debug/deps/libmigrations_internals-eb2002a247e70ed1.rlib" "/data/target/debug/deps/libtoml-e96bfcf8a9ed2823.rlib" "/data/target/debug/deps/libtoml_edit-ff7e758e9b565794.rlib" "/data/target/debug/deps/libserde_spanned-8936097058e3e38f.rlib" "/data/target/debug/deps/libindexmap-9e85dfcc7abe07aa.rlib" "/data/target/debug/deps/libequivalent-7d7b8210154f747c.rlib" "/data/target/debug/deps/libhashbrown-691102d81f96bdee.rlib" "/data/target/debug/deps/libwinnow-47afddf1b3fb670e.rlib" "/data/target/debug/deps/libtoml_datetime-d8da63b0727b9020.rlib" "/data/target/debug/deps/libuuid-593f32675f2bc974.rlib" "/data/target/debug/deps/libjwt-554da3f03d1e2df2.rlib" "/data/target/debug/deps/libsha2-71ede65644b93f69.rlib" "/data/target/debug/deps/libcpufeatures-9603d907d3eec262.rlib" "/data/target/debug/deps/libbase64-00b817d4f4465a7a.rlib" "/data/target/debug/deps/libhmac-a4a2290271458b08.rlib" "/data/target/debug/deps/libdigest-6a6b7cb391529ed4.rlib" "/data/target/debug/deps/libblock_buffer-2961cd43e01411b9.rlib" "/data/target/debug/deps/libbcrypt-dde1d8774a059064.rlib" "/data/target/debug/deps/libsubtle-384c6077f6d8ff8c.rlib" "/data/target/debug/deps/libblowfish-134d32b183f3c206.rlib" "/data/target/debug/deps/libbyteorder-67bd6c2238629e0c.rlib" "/data/target/debug/deps/libcipher-0cfb09b01a9b4cff.rlib" "/data/target/debug/deps/libinout-3f3de86a8b904d65.rlib" "/data/target/debug/deps/libcrypto_common-64af672ac18e8ae7.rlib" "/data/target/debug/deps/libgeneric_array-15388b3d432e83ff.rlib" "/data/target/debug/deps/libtypenum-b61d956dfbf60108.rlib" "/data/target/debug/deps/libgetrandom-34acc849669ea4a6.rlib" "/data/target/debug/deps/libbase64-4437a52c2adcf81a.rlib" "/data/target/debug/deps/libzeroize-fb5d071ef68e67fb.rlib" "/data/target/debug/deps/librocket_sync_db_pools-118a11b6d115e106.rlib" "/data/target/debug/deps/librocket-ed4d209c1063c7b1.rlib" "/data/target/debug/deps/libtokio_util-0ca513aaeabe9047.rlib" "/data/target/debug/deps/libtempfile-c13a85ca9d8f478c.rlib" "/data/target/debug/deps/libfastrand-e1605dfa7e5acd75.rlib" "/data/target/debug/deps/libremove_dir_all-e679aa6bf223f390.rlib" "/data/target/debug/deps/libserde_json-e7009ce0c6bbdd06.rlib" "/data/target/debug/deps/libryu-0dd6fab35e094f69.rlib" "/data/target/debug/deps/librocket_http-11829a783e94eaa5.rlib" "/data/target/debug/deps/libcookie-409d7b84904258fa.rlib" "/data/target/debug/deps/libstable_pattern-3ee547c4bb278a6e.rlib" "/data/target/debug/deps/libref_cast-65060d0e5b666c45.rlib" "/data/target/debug/deps/libpercent_encoding-b735c37a15391969.rlib" "/data/target/debug/deps/libhyper-0688184a8e021998.rlib" "/data/target/debug/deps/libh2-5b5e8517bab058f7.rlib" "/data/target/debug/deps/libtower_service-70eade39bf67f4ea.rlib" "/data/target/debug/deps/libtracing-4ba90a7722d46cef.rlib" "/data/target/debug/deps/libtracing_core-947015e52e28e7d8.rlib" "/data/target/debug/deps/liblazy_static-1018733d611fade7.rlib" "/data/target/debug/deps/libhttp_body-ae969480a103c579.rlib" "/data/target/debug/deps/libhttpdate-c38c1c6fab054cf1.rlib" "/data/target/debug/deps/libmulter-52a04e3135af5ff5.rlib" "/data/target/debug/deps/libmime-4be6633ccf229785.rlib" "/data/target/debug/deps/libtokio_util-be1ada094c504fa0.rlib" "/data/target/debug/deps/libhttparse-e58a597abbdd68ad.rlib" "/data/target/debug/deps/libspin-b5b1e9968ed111d5.rlib" "/data/target/debug/deps/libencoding_rs-dfb6e623b286e24a.rlib" "/data/target/debug/deps/libhttp-49ee9068352f6461.rlib" "/data/target/debug/deps/libfnv-fe401db0adecae30.rlib" "/data/target/debug/deps/libindexmap-dece0533672f7208.rlib" "/data/target/debug/deps/libhashbrown-1985ed4c3ca1e5e7.rlib" "/data/target/debug/deps/libeither-f210a54db81a1484.rlib" "/data/target/debug/deps/libtokio_stream-f60c49aad705e9e3.rlib" "/data/target/debug/deps/libatomic-dfbc5d072cdc94ef.rlib" "/data/target/debug/deps/libstate-c19491e0bdf705f0.rlib" "/data/target/debug/deps/libparking_lot-3f738da5e27c812f.rlib" "/data/target/debug/deps/libparking_lot_core-e40c477ed79ca456.rlib" "/data/target/debug/deps/libubyte-9c4ca3c83c3e444a.rlib" "/data/target/debug/deps/libis_terminal-4a3ed90891461e39.rlib" "/data/target/debug/deps/librustix-65a1cfeedf883297.rlib" "/data/target/debug/deps/libbitflags-24cf8d70d70e18a7.rlib" "/data/target/debug/deps/liblinux_raw_sys-facb244f0bcf276f.rlib" "/data/target/debug/deps/libio_lifetimes-7ccddfc802d419f2.rlib" "/data/target/debug/deps/libtime-68260716b0b6d84c.rlib" "/data/target/debug/deps/libitoa-00b3565c96893b3b.rlib" "/data/target/debug/deps/libtime_core-f9ebc86da28171f2.rlib" "/data/target/debug/deps/libfigment-9b56244a47166198.rlib" "/data/target/debug/deps/libtoml-a0f80cc1aa4611ec.rlib" "/data/target/debug/deps/libuncased-355019c940d38765.rlib" "/data/target/debug/deps/libpear-b6a512678d54d174.rlib" "/data/target/debug/deps/libinlinable_string-8ba73cfd6107226a.rlib" "/data/target/debug/deps/libtokio-ba9c4275163d1741.rlib" "/data/target/debug/deps/libsignal_hook_registry-4092dada870737ee.rlib" "/data/target/debug/deps/libnum_cpus-9139b58dbeb70f09.rlib" "/data/target/debug/deps/libsocket2-dc85782baa4d3242.rlib" "/data/target/debug/deps/libbytes-1c3aab1750fee4c3.rlib" "/data/target/debug/deps/libmio-b45535e0ea6f373e.rlib" "/data/target/debug/deps/libfutures-1af43b382786eb69.rlib" "/data/target/debug/deps/libfutures_util-42c55087d8ee8710.rlib" "/data/target/debug/deps/libmemchr-05c6174f1f15e274.rlib" "/data/target/debug/deps/libfutures_io-4b4b7b1bd0af922e.rlib" "/data/target/debug/deps/libslab-ae602e8f3dc7bfb2.rlib" "/data/target/debug/deps/libfutures_channel-c76d46e769cdbc44.rlib" "/data/target/debug/deps/libpin_project_lite-b15a962cef5fe264.rlib" "/data/target/debug/deps/libfutures_sink-a21624862867f480.rlib" "/data/target/debug/deps/libfutures_task-578a9d448ddabc04.rlib" "/data/target/debug/deps/libpin_utils-5a8c70bb2f081d2f.rlib" "/data/target/debug/deps/libasync_stream-9f09c75ee546c576.rlib" "/data/target/debug/deps/libfutures_core-0b0b20444d3d79e4.rlib" "/data/target/debug/deps/libyansi-c320302210c506b8.rlib" "/data/target/debug/deps/libdiesel-7ff80dd4eed87eac.rlib" "/data/target/debug/deps/libr2d2-fabf2be12abc1f41.rlib" "/data/target/debug/deps/libscheduled_thread_pool-80072885b77c95a7.rlib" "/data/target/debug/deps/libparking_lot-1d9aeb9f9c2d5a29.rlib" "/data/target/debug/deps/libparking_lot_core-36b2d9baa1e33509.rlib" "/data/target/debug/deps/libsmallvec-7123190dcc52d87f.rlib" "/data/target/debug/deps/liblock_api-c89cec02d6409049.rlib" "/data/target/debug/deps/libscopeguard-b24810fc2f364f1f.rlib" "/data/target/debug/deps/libinstant-205d0b7c4cce4818.rlib" "/data/target/debug/deps/liblog-1f20483e9b0f7228.rlib" "/data/target/debug/deps/libcfg_if-e749e696f15b2a79.rlib" "/data/target/debug/deps/libchrono-4ae2d74276bfccad.rlib" "/data/target/debug/deps/libiana_time_zone-2d0c384be098f304.rlib" "/data/target/debug/deps/libnum_integer-94e9cb6bb622bf77.rlib" "/data/target/debug/deps/libnum_traits-d3b332a8dc8a3362.rlib" "/data/target/debug/deps/libserde-a93e64187f72804d.rlib" "/data/target/debug/deps/libtime-828c40026a78c7d0.rlib" "/data/target/debug/deps/liblibc-e672c60e35db0b05.rlib" "/data/target/debug/deps/liblibsqlite3_sys-2824a62caa053679.rlib" "-lsqlite3" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-aa8203b3ba116fbe.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libpanic_unwind-e885f15b059e3ff7.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libobject-b65ca09827f11530.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libmemchr-5f4e25955e9c1b6c.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libaddr2line-3ca6169a8334e9b8.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libgimli-c89c6a6abb5921a6.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_demangle-984e152fe5af2cfb.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd_detect-51bdc4aec4b19e4b.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libhashbrown-1b5a9e52048e56da.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_alloc-6be8b5513d267adf.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libminiz_oxide-03a7cfa9b23d7126.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libadler-a08b13570cc48c0f.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libunwind-7785e052251c01d4.rlib" "-lunwind" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libcfg_if-ee6e758db2a8c4d4.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/liblibc-994f69313f2f437a.rlib" "-lc" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/liballoc-a596098a302de5a5.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_core-96eda9db8ac002a3.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libcore-2ab10af40e6ef36d.rlib" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libcompiler_builtins-a69552e2f51a1d90.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib" "-L" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-o" "/data/target/debug/deps/rockpass-eee0105e75d697ba" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/usr/local/rustup/toolchains/1.72.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o"
  = note: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lsqlite3: No such file or directory
          collect2: error: ld returned 1 exit status

This error does not occur with the toolchain x86_64-unknown-linux-gnu.

@ogarcia ogarcia added C-bug Category: This is a bug. regression-untriaged Untriaged performance or correctness regression. labels Sep 1, 2023
@rustbot rustbot added needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. I-prioritize Issue: Indicates that prioritization has been requested for this issue. regression-from-stable-to-stable Performance or correctness regression from one stable version to another. and removed regression-untriaged Untriaged performance or correctness regression. labels Sep 1, 2023
@apiraino apiraino added the O-musl Target: The musl libc label Sep 1, 2023
@apiraino
Copy link
Contributor

apiraino commented Sep 4, 2023

@ogarcia can you try reducing the number of dependencies towards an easier way to reproduce? Probably the issue is with the crate directly trying to use sqlite3. Also: which commad do you actually use to to compile? Are you using some third-party wrappers like cargo cross? It looks like something may have changed in the dependency resolution, probably more context can help. Thanks.

@rustbot label +E-needs-mcve +E-needs-bisection

@rustbot rustbot added E-needs-bisection Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example labels Sep 4, 2023
@Noratrieb Noratrieb removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Sep 4, 2023
@ogarcia
Copy link
Author

ogarcia commented Sep 5, 2023

Also: which commad do you actually use to to compile? Are you using some third-party wrappers like cargo cross?

Nothing special. Only cargo build --release (or simply cargo build).

As for the reduction of dependencies, it is implosible in this project because it is already at a minimum.

However I have found that with the sqlite example 1 that has the Diesel library exactly the same error happens, maybe it is better because it is much simpler and has almost no dependencies.

To reproduce it I simply downloaded the contents of that directory (diesel/examples/sqlite /getting_started_step_1/) and modified the Cargo.toml to remove the path in diesel dependency line so it looks like this:

[package]
name = "diesel_demo_step_1_sqlite"
version = "0.1.0"
license = "MIT OR Apache-2.0"
authors = ["Taryn Hill <taryn@phrohdoh.com>"]
edition = "2018"
publish = false

[dependencies]
diesel = { version = "2.1.0", features = ["sqlite"] }
dotenvy = "0.15"

[[bin]]
name = "show_posts"
doc = false

[lib]
doc = false

@apiraino
Copy link
Contributor

@ogarcia unsure if related to your issue, but are you also compiling with -Ctarget-features=-crt-static? (see this comment)

@ogarcia
Copy link
Author

ogarcia commented Sep 25, 2023

@apiraino sorry for the delay, I was on holidays.

The bug is still present in version 1.72.1.

Using RUSTFLAGS="-Ctarget-feature=-crt-static" cargo build --release seems do the trick, but I understand that as it was not necessary to use this flag before, this issue must still be active.

flash-freezing-lava added a commit to flash-freezing-lava/rust-link-alpine-error that referenced this issue Sep 26, 2023
@flash-freezing-lava
Copy link

I have uploaded a minimal example to https://github.com/flash-freezing-lava/rust-link-alpine-error that gives the same error on x86_64-unknown-linux-musl, just with zlib instead sqlite. The error is reproducible with several other libraries like freetype, expat, and fontconfig. It is also reproducable on target aarch64-unknown-linux-musl. Again the problem can be worked around by RUSTFLAGS="-Ctarget-feature=-crt-static".

@cybern0id
Copy link

cybern0id commented Sep 30, 2023

Experiencing a similar linker error here, except with libbz2 (ld: can't find -lbz2) when trying to build maturin 0.11.5 on Alpine Linux 3.18 x86_64. The bundled rust 1.71.1 works fine.

@Amanieu
Copy link
Member

Amanieu commented Oct 3, 2023

This is most likely due to #111698: previously rustc would link to dynamic libraries while trying to build a static binary, which led to all sorts of problems, including crashes.

Now we properly only link to static libraries when building a static binary, which is the default for the musl target. To build a dynamic binary which can link to dynamic libraries, you need to use RUSTFLAGS="-Ctarget-feature=-crt-static".

@sanmai-NL
Copy link

@ogarcia Does @Amanieu's suggestion resolve the issue for you?

@ogarcia
Copy link
Author

ogarcia commented Nov 16, 2023

@ogarcia Does @Amanieu's suggestion resolve the issue for you?

Yes, I think that if from now on we are going to have to indicate RUSTFLAGS="-Ctarget-feature=-crt-static" in these cases and this is documented this issue could be closed.

@sanmai-NL
Copy link

@ogarcia So the issue can be closed, you think?

@apiraino
Copy link
Contributor

sure, I'll close it. thanks for reporting it!

@rustbot label -I-prioritize -E-needs-mcve -E-needs-bisection

@rustbot rustbot removed I-prioritize Issue: Indicates that prioritization has been requested for this issue. E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example E-needs-bisection Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc labels Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. O-musl Target: The musl libc regression-from-stable-to-stable Performance or correctness regression from one stable version to another.
Projects
None yet
Development

No branches or pull requests

8 participants