[Pkg-rust-maintainers] About Rustc 1.2

Luca Bruno lucab at debian.org
Thu Aug 13 17:53:16 UTC 2015


On Thursday 13 August 2015 14:25:46 Sylvestre Ledru wrote:
> Le 12/08/2015 17:44, Luca Bruno a écrit :
> > On Wednesday 12 August 2015 11:36:53 Sylvestre Ledru wrote:
> >> Hello,
> >> 
> >> Just a quick update to let you know that 1.2 is almost ready.
> >> I just have an issue with the rebase of debian/patches/add-soname
> >> The code changed a lot and I need to refresh the patch.
> >> I will give it a try in the next few days but don't hesitate to step in.
> > 
> > I'm a bit short on building power, so I can't test this on the fly.
> > I think the issue is that arg() now take an OsStr instead of the previous
> > OsString.
> > 
> > I Think you can just fix using this:
> >   OsString::as_os_str(&self) -> &OsStr
> 
> With the help of one of my colleague working on Servo, we wrote this:
>     if dylib && t.options.linker_is_gnu {
>         let soname = [String::from("-Wl,-soname="),
> String::from(out_filename.file_name().unwrap().to_str().unwrap())];
> cmd.args(&soname);
>     }
> 
> But the final link fails with:
> Does it ring a bell ?

I have observed this failure both with and without the add-soname patch, so it 
should be unrelated.

Are we maybe hitting a side-effect of gcc-5 new C++ ABI?
Looking a bit around, I found a reference to this: 
https://llvm.org/bugs/show_bug.cgi?id=22593

This looks like our case, as we are now building with gcc-5 while current 
llvm-3.6 has been built under gcc-4.9.

Cheers, Luca

-- 
 .''`.  ** Debian GNU/Linux **  | Luca Bruno (kaeso)
: :'  :   The Universal O.S.    | lucab (AT) debian.org
`. `'`                          | GPG: 0xBB1A3A854F3BBEBF
  `-     http://www.debian.org 	| Debian GNU/Linux Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-rust-maintainers/attachments/20150813/d141df78/attachment.sig>


More information about the Pkg-rust-maintainers mailing list