<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/ci/docker/scripts/musl.sh, branch 1.27.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.27.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.27.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-04-10T17:44:47+00:00</updated>
<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>
<entry>
<title>Rollup merge of #47283 - malbarbo:musl-1.1.18, r=alexcrichton</title>
<updated>2018-01-12T18:26:27+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2018-01-12T18:26:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0d199d56ea3b972499c2c395f5ae35e5bfc0d02d'/>
<id>urn:sha1:0d199d56ea3b972499c2c395f5ae35e5bfc0d02d</id>
<content type='text'>
Update musl to 1.1.18

According to http://www.musl-libc.org/download.html:

This release corrects regressions in glob() and armv4t build failure
introduced in the previous release, and includes an important bug fix
for posix_spawnp in the presence of a large PATH environment variable.
</content>
</entry>
<entry>
<title>Add i586-unknown-linux-musl target</title>
<updated>2018-01-11T17:57:28+00:00</updated>
<author>
<name>Marco A L Barbosa</name>
<email>malbarbo@gmail.com</email>
</author>
<published>2018-01-04T16:55:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=882cd3cf0b662bbdd3c79e0f5ae34bb119c2d4aa'/>
<id>urn:sha1:882cd3cf0b662bbdd3c79e0f5ae34bb119c2d4aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update musl to 1.1.18</title>
<updated>2018-01-08T23:26:47+00:00</updated>
<author>
<name>Marco A L Barbosa</name>
<email>malbarbo@gmail.com</email>
</author>
<published>2018-01-08T23:26:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b5a3f56f7509a70a77b397c262383e27a83c05a5'/>
<id>urn:sha1:b5a3f56f7509a70a77b397c262383e27a83c05a5</id>
<content type='text'>
According to http://www.musl-libc.org/download.html:

This release corrects regressions in glob() and armv4t build failure
introduced in the previous release, and includes an important bug fix
for posix_spawnp in the presence of a large PATH environment variable.
</content>
</entry>
<entry>
<title>ci: use musl shared script in dist-i586-gnu-i686-musl</title>
<updated>2018-01-03T15:49:13+00:00</updated>
<author>
<name>Marco A L Barbosa</name>
<email>malbarbo@gmail.com</email>
</author>
<published>2018-01-03T15:24:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=00b54130874b6a6541626b9b023948440fe11141'/>
<id>urn:sha1:00b54130874b6a6541626b9b023948440fe11141</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci: use musl shared script in dist-various-1 (for arm targets)</title>
<updated>2018-01-03T15:49:13+00:00</updated>
<author>
<name>Marco A L Barbosa</name>
<email>malbarbo@gmail.com</email>
</author>
<published>2018-01-03T11:39:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=10a759130e763206bb961deb4c9da6e0466c71a1'/>
<id>urn:sha1:10a759130e763206bb961deb4c9da6e0466c71a1</id>
<content type='text'>
Update libunwind to 39. This is necessary to build the arm targets
</content>
</entry>
</feed>
