<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>My bad, in fact we do.<br>
</p>
<p>Could you try with the attached patch? It shows the failing
filename in the archive.<br>
</p>
<br>
<div class="moz-cite-prefix">On 11/11/2016 17:18, Sylvain Henry
wrote:<br>
</div>
<blockquote
cite="mid:b3ef5ebf-e3e3-ca5d-0621-82c03d76469a@haskus.fr"
type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<p>It seems like we don't bypass the special filename "/" (symbol
lookup table) in rts/Linker.c</p>
<p><a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://en.wikipedia.org/wiki/Ar_%28Unix%29#System_V_.28or_GNU.29_variant">https://en.wikipedia.org/wiki/Ar_(Unix)#System_V_.28or_GNU.29_variant</a><br>
</p>
<br>
<div class="moz-cite-prefix">On 11/11/2016 16:49, Ömer Sinan
Ağacan wrote:<br>
</div>
<blockquote
cite="mid:CAMQQO3ku-MaUNRaGRNCyUeZzifQJthcAcm0p9vkS-wFmfA7=Rw@mail.gmail.com"
type="cite">
<div dir="ltr">Ah, sorry, that line was truncated. I posted the
output here: <a moz-do-not-send="true"
href="https://gist.githubusercontent.com/osa1/ea72655b8369099e84a67e0949adca7e/raw/9e72cbfb859cb839f1898af39a46ff0896237d15/gistfile1.txt">https://gist.githubusercontent.com/osa1/ea72655b8369099e84a67e0949adca7e/raw/9e72cbfb859cb839f1898af39a46ff0896237d15/gistfile1.txt</a>
<div><br>
</div>
<div>That line should be</div>
<div>
<pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">+ghc-iserv.bin: internal loadArchive: GNU-variant filename offset not found while reading filename from `/home/omer/haskell/ghc/libraries/ghc-prim/dist-install/build/libHSghc-prim-0.5.0.0.a'
+ (GHC version 8.1.20161107 for x86_64_unknown_linux)
+ Please report this as a GHC bug: <a moz-do-not-send="true" href="http://www.haskell.org/ghc/reportabug">http://www.haskell.org/ghc/reportabug</a></pre>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-11-11 0:52 GMT-05:00 Reid Barton
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rwbarton@gmail.com" target="_blank">rwbarton@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb">
<div class="h5">On Thu, Nov 10, 2016 at 11:12 PM, Ömer
Sinan Ağacan<br>
<<a moz-do-not-send="true"
href="mailto:omeragacan@gmail.com">omeragacan@gmail.com</a>>
wrote:<br>
> I'm trying to validate on a new system (not sure
if related, but it has gcc<br>
> 6.2.1 and ld 2.27.0), and I'm having 177
unexpected failures, most (maybe<br>
> even<br>
> all) of them are similar to this one:<br>
><br>
> =====> T5976(ext-interp) 1 of 1 [0, 0, 0]<br>
> cd "./th/T5976.run" &&
"/home/omer/haskell/ghc/<wbr>inplace/test<br>
> spaces/ghc-stage2" -c T5976.hs
-dcore-dno-debug-output -XTemplateHaskell<br>
> -package template-haskell -fexternal-interpreter
-v0<br>
> Actual stderr output differs from expected:<br>
> --- ./th/T5976.run/T5976.stderr.<wbr>normalised
2016-11-10<br>
> 23:01:39.351997560 -0500<br>
> +++ ./th/T5976.run/T5976.comp.<wbr>stderr.normalised
2016-11-10<br>
> 23:01:39.351997560 -0500<br>
> @@ -1,7 +1,4 @@<br>
> -<br>
> -T5976.hs:1:1:<br>
> - Exception when trying to run
compile-time code:<br>
> - bar<br>
> -CallStack (from HasCallStack):<br>
> - error, called at
T5976.hs:<line>:<column> in
<package-id>:Main<br>
> - Code: error ((++) "foo " error "bar")<br>
> +ghc-iserv.bin: internal loadArchive:
GNU-variant filename offset not<br>
> found while reading filename f<br>
<br>
</div>
</div>
Did this line get truncated? It might help to have the
rest of it.<br>
<br>
Regards,<br>
Reid Barton<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ghc-devs mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ghc-devs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a>
</pre>
</blockquote>
<br>
</body>
</html>