pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Rust still broken on 9.0-STABLE i386

> Attached is a diff which caused my attempted mostly-static cross
> build for i386 to succeed.  This is an optional thing, not
> enabled by default, ref. the commented-out remark, and only works
> in conjunction with the modified gcc-wrap script, which is only
> used when cross-building.  I'm currently uploading the build
> result, it'll be a while till it's there.

The bootstrap is now mostly-static:

: {13} ldd cargo
        -lgcc_s.1 => /usr/lib/
        -lc.12 => /usr/lib/
        -lm.0 => /usr/lib/
: {14} pwd
: {15} 


running: /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /usr/pkgsrc/lang/rust/work/rustc-1.45.2-src/src/bootstrap/Cargo.toml --frozen
/usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo: text relocations
/usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo: text relocations
/usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo: text relocations
error: process didn't exit successfully: `/usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/rustc -vV` (signal: 6, SIGABRT: process abort signal)


: {47} setenv LD_LIBRARY_PATH `pwd`/work/rust-bootstrap/lib
: {48} work/rust-bootstrap/bin/rustc
/usr/pkgsrc/lang/rust/work/rust-bootstrap/lib/ text relocations
Abort (core dumped)
: {49} readelf -a /usr/pkgsrc/lang/rust/work/rust-bootstrap/lib/ | grep TEXTREL
 0x00000016 (TEXTREL)                    0x0
 0x0000001e (FLAGS)                      TEXTREL BIND_NOW STATIC_TLS
: {50} 

Dang!  Any advice?  Was it a bad idea to try to do libstdc++
statically, or is this perhaps something else entirely?


- Håvard

Home | Main Index | Thread Index | Old Index