GNU bug report logs -
#16304
Upcoming clang-3.4 apparently miscompiles coreutils.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16304 in the body.
You can then email your comments to 16304 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#16304
; Package
coreutils
.
(Mon, 30 Dec 2013 18:27:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Markus Trippelsdorf <markus <at> trippelsdorf.de>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Mon, 30 Dec 2013 18:27:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
coreutils-8.22 build with clang-3.4 doesn't copy permissions correctly:
markus <at> x4 tmp % touch test1
markus <at> x4 tmp % chmod 600 test1
markus <at> x4 tmp % ls -al test1
-rw------- 1 markus markus 0 Dec 30 13:25 test1
markus <at> x4 tmp % /var/tmp/coreutils-8.22/src/cp test1 test2
markus <at> x4 tmp % ls -al test2
---------- 1 markus markus 0 Dec 30 13:25 test2
markus <at> x4 tmp %
--
Markus
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#16304
; Package
coreutils
.
(Mon, 30 Dec 2013 18:48:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 16304 <at> debbugs.gnu.org (full text, mbox):
On 12/30/2013 12:32 PM, Markus Trippelsdorf wrote:
> coreutils-8.22 build with clang-3.4 doesn't copy permissions correctly:
>
> markus <at> x4 tmp % touch test1
> markus <at> x4 tmp % chmod 600 test1
> markus <at> x4 tmp % ls -al test1
> -rw------- 1 markus markus 0 Dec 30 13:25 test1
> markus <at> x4 tmp % /var/tmp/coreutils-8.22/src/cp test1 test2
> markus <at> x4 tmp % ls -al test2
> ---------- 1 markus markus 0 Dec 30 13:25 test2
> markus <at> x4 tmp %
Ouch.
Note as part of the 8.22 release process
I did verify that `make check` passed with
clang-3.3-3.fc20.x86_64
I've again verified that clang-3.3 passes your test above.
Can you pinpoint the erroneous code?
It does seem like a clang regression TBH.
thanks,
Pádraig.
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#16304
; Package
coreutils
.
(Mon, 30 Dec 2013 21:48:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 16304 <at> debbugs.gnu.org (full text, mbox):
On 2013.12.30 at 18:47 +0000, Pádraig Brady wrote:
> On 12/30/2013 12:32 PM, Markus Trippelsdorf wrote:
> > coreutils-8.22 build with clang-3.4 doesn't copy permissions correctly:
> >
> > markus <at> x4 tmp % touch test1
> > markus <at> x4 tmp % chmod 600 test1
> > markus <at> x4 tmp % ls -al test1
> > -rw------- 1 markus markus 0 Dec 30 13:25 test1
> > markus <at> x4 tmp % /var/tmp/coreutils-8.22/src/cp test1 test2
> > markus <at> x4 tmp % ls -al test2
> > ---------- 1 markus markus 0 Dec 30 13:25 test2
> > markus <at> x4 tmp %
>
> Ouch.
>
> Note as part of the 8.22 release process
> I did verify that `make check` passed with
> clang-3.3-3.fc20.x86_64
>
> I've again verified that clang-3.3 passes your test above.
>
> Can you pinpoint the erroneous code?
> It does seem like a clang regression TBH.
Started with LLVM r192750 (Enable MI Sched for x86).
I've opened a LLVM bug here:
http://llvm.org/bugs/show_bug.cgi?id=18346
(I will try to come up with a testcase after the holidays)
--
Markus
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#16304
; Package
coreutils
.
(Tue, 31 Dec 2013 19:22:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 16304 <at> debbugs.gnu.org (full text, mbox):
On Dec 30, 2013, at 1:47 PM, Markus Trippelsdorf <markus <at> trippelsdorf.de> wrote:
> On 2013.12.30 at 18:47 +0000, Pádraig Brady wrote:
>> On 12/30/2013 12:32 PM, Markus Trippelsdorf wrote:
>>> coreutils-8.22 build with clang-3.4 doesn't copy permissions correctly:
>>>
>>> markus <at> x4 tmp % touch test1
>>> markus <at> x4 tmp % chmod 600 test1
>>> markus <at> x4 tmp % ls -al test1
>>> -rw------- 1 markus markus 0 Dec 30 13:25 test1
>>> markus <at> x4 tmp % /var/tmp/coreutils-8.22/src/cp test1 test2
>>> markus <at> x4 tmp % ls -al test2
>>> ---------- 1 markus markus 0 Dec 30 13:25 test2
>>> markus <at> x4 tmp %
>>
>> Ouch.
>>
>> Note as part of the 8.22 release process
>> I did verify that `make check` passed with
>> clang-3.3-3.fc20.x86_64
>>
>> I've again verified that clang-3.3 passes your test above.
>>
>> Can you pinpoint the erroneous code?
>> It does seem like a clang regression TBH.
>
> Started with LLVM r192750 (Enable MI Sched for x86).
> I've opened a LLVM bug here:
> http://llvm.org/bugs/show_bug.cgi?id=18346
>
> (I will try to come up with a testcase after the holidays)
To determine whether a bug exists in MI scheduler pass (or downstream) you can do this:
-mllvm -enable-misched=false.
Duncan committed a post-3.4 fix, r197503, for a varargs bug exposed by changes to the SD scheduling policy.
-Andy
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#16304
; Package
coreutils
.
(Tue, 31 Dec 2013 19:40:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 16304 <at> debbugs.gnu.org (full text, mbox):
On 2013.12.31 at 11:12 -0800, Andrew Trick wrote:
>
> On Dec 30, 2013, at 1:47 PM, Markus Trippelsdorf <markus <at> trippelsdorf.de> wrote:
>
> > On 2013.12.30 at 18:47 +0000, Pádraig Brady wrote:
> >> On 12/30/2013 12:32 PM, Markus Trippelsdorf wrote:
> >>> coreutils-8.22 build with clang-3.4 doesn't copy permissions correctly:
> >>>
> >>> markus <at> x4 tmp % touch test1
> >>> markus <at> x4 tmp % chmod 600 test1
> >>> markus <at> x4 tmp % ls -al test1
> >>> -rw------- 1 markus markus 0 Dec 30 13:25 test1
> >>> markus <at> x4 tmp % /var/tmp/coreutils-8.22/src/cp test1 test2
> >>> markus <at> x4 tmp % ls -al test2
> >>> ---------- 1 markus markus 0 Dec 30 13:25 test2
> >>> markus <at> x4 tmp %
> >>
> >> Ouch.
> >>
> >> Note as part of the 8.22 release process
> >> I did verify that `make check` passed with
> >> clang-3.3-3.fc20.x86_64
> >>
> >> I've again verified that clang-3.3 passes your test above.
> >>
> >> Can you pinpoint the erroneous code?
> >> It does seem like a clang regression TBH.
> >
> > Started with LLVM r192750 (Enable MI Sched for x86).
> > I've opened a LLVM bug here:
> > http://llvm.org/bugs/show_bug.cgi?id=18346
> >
> > (I will try to come up with a testcase after the holidays)
>
> To determine whether a bug exists in MI scheduler pass (or downstream) you can do this:
> -mllvm -enable-misched=false.
>
> Duncan committed a post-3.4 fix, r197503, for a varargs bug exposed by
> changes to the SD scheduling policy.
Yes, r197503 fixes the issue. Would be nice to get the fix applied
before 3.4 gets released...
--
Markus
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#16304
; Package
coreutils
.
(Tue, 31 Dec 2013 19:44:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 16304 <at> debbugs.gnu.org (full text, mbox):
On Dec 31, 2013, at 11:39 AM, Markus Trippelsdorf <markus <at> trippelsdorf.de> wrote:
> On 2013.12.31 at 11:12 -0800, Andrew Trick wrote:
>>
>> On Dec 30, 2013, at 1:47 PM, Markus Trippelsdorf <markus <at> trippelsdorf.de> wrote:
>>
>>> On 2013.12.30 at 18:47 +0000, Pádraig Brady wrote:
>>>> On 12/30/2013 12:32 PM, Markus Trippelsdorf wrote:
>>>>> coreutils-8.22 build with clang-3.4 doesn't copy permissions correctly:
>>>>>
>>>>> markus <at> x4 tmp % touch test1
>>>>> markus <at> x4 tmp % chmod 600 test1
>>>>> markus <at> x4 tmp % ls -al test1
>>>>> -rw------- 1 markus markus 0 Dec 30 13:25 test1
>>>>> markus <at> x4 tmp % /var/tmp/coreutils-8.22/src/cp test1 test2
>>>>> markus <at> x4 tmp % ls -al test2
>>>>> ---------- 1 markus markus 0 Dec 30 13:25 test2
>>>>> markus <at> x4 tmp %
>>>>
>>>> Ouch.
>>>>
>>>> Note as part of the 8.22 release process
>>>> I did verify that `make check` passed with
>>>> clang-3.3-3.fc20.x86_64
>>>>
>>>> I've again verified that clang-3.3 passes your test above.
>>>>
>>>> Can you pinpoint the erroneous code?
>>>> It does seem like a clang regression TBH.
>>>
>>> Started with LLVM r192750 (Enable MI Sched for x86).
>>> I've opened a LLVM bug here:
>>> http://llvm.org/bugs/show_bug.cgi?id=18346
>>>
>>> (I will try to come up with a testcase after the holidays)
>>
>> To determine whether a bug exists in MI scheduler pass (or downstream) you can do this:
>> -mllvm -enable-misched=false.
>>
>> Duncan committed a post-3.4 fix, r197503, for a varargs bug exposed by
>> changes to the SD scheduling policy.
>
> Yes, r197503 fixes the issue. Would be nice to get the fix applied
> before 3.4 gets released...
Yep, it would be nice. But the fix was considered too late 2 weeks ago, so it’s even less likely now. I don’t think there’s any way to rerun validation at this point. I’m copying Bill who is the authority.
-Andy
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#16304
; Package
coreutils
.
(Tue, 31 Dec 2013 19:47:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 16304 <at> debbugs.gnu.org (full text, mbox):
My previous reply didn’t have Bill’s correct email.
On Dec 31, 2013, at 11:42 AM, Andrew Trick <atrick <at> apple.com> wrote:
>
> On Dec 31, 2013, at 11:39 AM, Markus Trippelsdorf <markus <at> trippelsdorf.de> wrote:
>
>> On 2013.12.31 at 11:12 -0800, Andrew Trick wrote:
>>>
>>> On Dec 30, 2013, at 1:47 PM, Markus Trippelsdorf <markus <at> trippelsdorf.de> wrote:
>>>
>>>> On 2013.12.30 at 18:47 +0000, Pádraig Brady wrote:
>>>>> On 12/30/2013 12:32 PM, Markus Trippelsdorf wrote:
>>>>>> coreutils-8.22 build with clang-3.4 doesn't copy permissions correctly:
>>>>>>
>>>>>> markus <at> x4 tmp % touch test1
>>>>>> markus <at> x4 tmp % chmod 600 test1
>>>>>> markus <at> x4 tmp % ls -al test1
>>>>>> -rw------- 1 markus markus 0 Dec 30 13:25 test1
>>>>>> markus <at> x4 tmp % /var/tmp/coreutils-8.22/src/cp test1 test2
>>>>>> markus <at> x4 tmp % ls -al test2
>>>>>> ---------- 1 markus markus 0 Dec 30 13:25 test2
>>>>>> markus <at> x4 tmp %
>>>>>
>>>>> Ouch.
>>>>>
>>>>> Note as part of the 8.22 release process
>>>>> I did verify that `make check` passed with
>>>>> clang-3.3-3.fc20.x86_64
>>>>>
>>>>> I've again verified that clang-3.3 passes your test above.
>>>>>
>>>>> Can you pinpoint the erroneous code?
>>>>> It does seem like a clang regression TBH.
>>>>
>>>> Started with LLVM r192750 (Enable MI Sched for x86).
>>>> I've opened a LLVM bug here:
>>>> http://llvm.org/bugs/show_bug.cgi?id=18346
>>>>
>>>> (I will try to come up with a testcase after the holidays)
>>>
>>> To determine whether a bug exists in MI scheduler pass (or downstream) you can do this:
>>> -mllvm -enable-misched=false.
>>>
>>> Duncan committed a post-3.4 fix, r197503, for a varargs bug exposed by
>>> changes to the SD scheduling policy.
>>
>> Yes, r197503 fixes the issue. Would be nice to get the fix applied
>> before 3.4 gets released...
>
> Yep, it would be nice. But the fix was considered too late 2 weeks ago, so it’s even less likely now. I don’t think there’s any way to rerun validation at this point. I’m copying Bill who is the authority.
>
> -Andy
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#16304
; Package
coreutils
.
(Wed, 01 Jan 2014 20:02:03 GMT)
Full text and
rfc822 format available.
Message #26 received at 16304 <at> debbugs.gnu.org (full text, mbox):
It really is too late now. The release has been put to bed, as it were. We’re now waiting for Chris to announce it.
-bw
On Dec 31, 2013, at 11:46 AM, Andrew Trick <atrick <at> apple.com> wrote:
> My previous reply didn’t have Bill’s correct email.
>
> On Dec 31, 2013, at 11:42 AM, Andrew Trick <atrick <at> apple.com> wrote:
>
>>
>> On Dec 31, 2013, at 11:39 AM, Markus Trippelsdorf <markus <at> trippelsdorf.de> wrote:
>>
>>> On 2013.12.31 at 11:12 -0800, Andrew Trick wrote:
>>>>
>>>> On Dec 30, 2013, at 1:47 PM, Markus Trippelsdorf <markus <at> trippelsdorf.de> wrote:
>>>>
>>>>> On 2013.12.30 at 18:47 +0000, Pádraig Brady wrote:
>>>>>> On 12/30/2013 12:32 PM, Markus Trippelsdorf wrote:
>>>>>>> coreutils-8.22 build with clang-3.4 doesn't copy permissions correctly:
>>>>>>>
>>>>>>> markus <at> x4 tmp % touch test1
>>>>>>> markus <at> x4 tmp % chmod 600 test1
>>>>>>> markus <at> x4 tmp % ls -al test1
>>>>>>> -rw------- 1 markus markus 0 Dec 30 13:25 test1
>>>>>>> markus <at> x4 tmp % /var/tmp/coreutils-8.22/src/cp test1 test2
>>>>>>> markus <at> x4 tmp % ls -al test2
>>>>>>> ---------- 1 markus markus 0 Dec 30 13:25 test2
>>>>>>> markus <at> x4 tmp %
>>>>>>
>>>>>> Ouch.
>>>>>>
>>>>>> Note as part of the 8.22 release process
>>>>>> I did verify that `make check` passed with
>>>>>> clang-3.3-3.fc20.x86_64
>>>>>>
>>>>>> I've again verified that clang-3.3 passes your test above.
>>>>>>
>>>>>> Can you pinpoint the erroneous code?
>>>>>> It does seem like a clang regression TBH.
>>>>>
>>>>> Started with LLVM r192750 (Enable MI Sched for x86).
>>>>> I've opened a LLVM bug here:
>>>>> http://llvm.org/bugs/show_bug.cgi?id=18346
>>>>>
>>>>> (I will try to come up with a testcase after the holidays)
>>>>
>>>> To determine whether a bug exists in MI scheduler pass (or downstream) you can do this:
>>>> -mllvm -enable-misched=false.
>>>>
>>>> Duncan committed a post-3.4 fix, r197503, for a varargs bug exposed by
>>>> changes to the SD scheduling policy.
>>>
>>> Yes, r197503 fixes the issue. Would be nice to get the fix applied
>>> before 3.4 gets released...
>>
>> Yep, it would be nice. But the fix was considered too late 2 weeks ago, so it’s even less likely now. I don’t think there’s any way to rerun validation at this point. I’m copying Bill who is the authority.
>>
>> -Andy
>
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#16304
; Package
coreutils
.
(Fri, 19 Oct 2018 23:31:01 GMT)
Full text and
rfc822 format available.
Message #29 received at 16304 <at> debbugs.gnu.org (full text, mbox):
tags 16304 notabug
close 16304
stop
(triaging old bugs)
This clang-3.4 bug has been fixed some time ago
(and it's not a coreutils bug).
Closing.
-assaf
Added tag(s) notabug.
Request was from
Assaf Gordon <assafgordon <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Fri, 19 Oct 2018 23:31:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
16304 <at> debbugs.gnu.org and Markus Trippelsdorf <markus <at> trippelsdorf.de>
Request was from
Assaf Gordon <assafgordon <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Fri, 19 Oct 2018 23:31:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 17 Nov 2018 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 218 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.