<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/ci/docker/scripts/musl.sh, branch 1.34.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.34.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.34.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-12-26T04:08:33+00:00</updated>
<entry>
<title>Remove licenses</title>
<updated>2018-12-26T04:08:33+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-12-25T15:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a663555ddf36f6b041445894a8c175cd1bc718c'/>
<id>urn:sha1:2a663555ddf36f6b041445894a8c175cd1bc718c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update CI-clang to 7.0.0 for Linux dists.</title>
<updated>2018-11-14T16:42:06+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2018-11-14T16:41:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2ec6f340cd29f289fea1c5a672195ceeaf44c475'/>
<id>urn:sha1:2ec6f340cd29f289fea1c5a672195ceeaf44c475</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update musl to 1.1.20.</title>
<updated>2018-09-21T14:03:13+00:00</updated>
<author>
<name>Adrian Budau</name>
<email>adbudau@bitdefender.com</email>
</author>
<published>2018-09-21T14:03:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=97723db7cf2e19dfd51721d5361c898b52f5a57f'/>
<id>urn:sha1:97723db7cf2e19dfd51721d5361c898b52f5a57f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typos found by codespell.</title>
<updated>2018-08-19T15:41:28+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2018-08-19T13:30:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=71120ef1e5cb885ee45e6148970db6ce93ce1aca'/>
<id>urn:sha1:71120ef1e5cb885ee45e6148970db6ce93ce1aca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update musl to 1.1.19 and add patch to fix tls issue</title>
<updated>2018-07-05T23:17:57+00:00</updated>
<author>
<name>Marco A L Barbosa</name>
<email>malbarbo@gmail.com</email>
</author>
<published>2018-07-05T22:53:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f969b61bd61d31b4a6f001b7047fd4a192bedd35'/>
<id>urn:sha1:f969b61bd61d31b4a6f001b7047fd4a192bedd35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add --enable-debug flag to musl CI build script</title>
<updated>2018-04-10T17:44:47+00:00</updated>
<author>
<name>Alec Mocatta</name>
<email>alecmocatta@users.noreply.github.com</email>
</author>
<published>2018-04-10T17:44:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=18e95320986243696f31f4b596761eb35759dfe9'/>
<id>urn:sha1:18e95320986243696f31f4b596761eb35759dfe9</id>
<content type='text'>
Building for x86_64-unknown-linux-musl currently results in an executable lacking debug information for musl libc itself. If you request a backtrace in GDB while control flow is within musl – including sycalls made by musl – the result looks like:

#0  0x0000000000434b46 in __cp_end ()
#1  0x0000000000432dbd in __syscall_cp_c ()
#2  0x0000000000000000 in ?? ()

i.e. not very helpful. Adding --enable-debug resolves this, and --enable-optimize re-enables optimisations which default to off given the previous flag.</content>
</entry>
<entry>
<title>Remove musl/libunwind patch for i686</title>
<updated>2018-01-27T22:57:10+00:00</updated>
<author>
<name>Marco A L Barbosa</name>
<email>malbarbo@gmail.com</email>
</author>
<published>2018-01-27T22:57:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2875f825fd5a29d94bbfd78b1019ebdedd8d2444'/>
<id>urn:sha1:2875f825fd5a29d94bbfd78b1019ebdedd8d2444</id>
<content type='text'>
The i686 problem was fixed upstream:
https://github.com/llvm-mirror/libunwind/commit/aa805e415f19f50ebc6f5e1e1e4bf9bb7f61816b
</content>
</entry>
<entry>
<title>Build musl with -fPIC for all targets</title>
<updated>2018-01-23T23:39:17+00:00</updated>
<author>
<name>Marco A L Barbosa</name>
<email>malbarbo@gmail.com</email>
</author>
<published>2018-01-23T23:39:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9b13e403761797127fd19a7c13eeb2429eb1c139'/>
<id>urn:sha1:9b13e403761797127fd19a7c13eeb2429eb1c139</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use libuwind 6.0 for all musl targets</title>
<updated>2018-01-23T16:05:31+00:00</updated>
<author>
<name>Marco A L Barbosa</name>
<email>malbarbo@gmail.com</email>
</author>
<published>2018-01-23T16:05:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=abc1061a656284f6e07008e7fd058a389ab2f33e'/>
<id>urn:sha1:abc1061a656284f6e07008e7fd058a389ab2f33e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not assume dynamic linking for musl/mips[el] targets</title>
<updated>2018-01-22T18:14:51+00:00</updated>
<author>
<name>Marco A L Barbosa</name>
<email>malbarbo@gmail.com</email>
</author>
<published>2018-01-12T23:22:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=68db72d8cd613f88ea69d37bcd159c4ff659aab1'/>
<id>urn:sha1:68db72d8cd613f88ea69d37bcd159c4ff659aab1</id>
<content type='text'>
All musl targets except mips[el] assume static linking by default. This
can be confusing
https://users.rust-lang.org/t/static-cross-compiled-binaries-arent-really-static/6084

When the musl/mips[el] targets was
[added](https://github.com/rust-lang/rust/pull/31298), dynamic linking
was chosen because of binary size concerns, and probably also because
libunwind
[didn't](https://users.rust-lang.org/t/static-cross-compiled-binaries-arent-really-static/6084/8)
supported mips.

Now that we have `crt-static` target-feature (the user can choose
dynamic link for musl targets), and libunwind
[6.0](https://github.com/llvm-mirror/libunwind/commits/release_60) add
support to mips, we do not need to assume dynamic linking.
</content>
</entry>
</feed>
