FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 11-20-2007, 10:24 PM
Henrique de Moraes Holschuh
 
Default gcc compilation error with abs() affects sarge, etch, lenny, sid

On Tue, 20 Nov 2007, Frans Pop wrote:
> A patch is available, but the question facing Debian is: should we do a scan
> of the archive to see if and which binary packages are affected?

Given the sort of insiduous, nightmarish to debug kind of bug this thing
could cause, I'd say that yes, we should. I don't expect it is a very
common problem, but one can't be sure without looking for it.

Also, we should push updated gcc packages to all suites.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-21-2007, 04:03 PM
Martin Michlmayr
 
Default gcc compilation error with abs() affects sarge, etch, lenny, sid

* Frans Pop <elendil@planet.nl> [2007-11-21 17:47]:
> The most effective/efficient way to do this may be an archive rebuild with
> a modified gcc that emits a warning if this case is hit and then check build
> logs for the warning.
>
> Something like the patch below (stolen from the thread on linux-kernel).

Sounds like something Lucas (CCed) could do.

> --- trunk/gcc/fold-const.c 2007/11/17 13:46:53 130257
> +++ trunk/gcc/fold-const.c 2007/11/17 14:22:42 130258
> @@ -6095,6 +6095,9 @@
> }
> break;
> }
> + /* If the constant is negative, we cannot simplify this. */
> + if (tree_int_cst_sgn (c) == -1)
> + { warning(0, "Unpatched gcc miscompiles this"); break; }
> /* FALLTHROUGH */
> case NEGATE_EXPR:
> if ((t1 = extract_muldiv (op0, c, code, wide_type, strict_overflow_p))

--
Martin Michlmayr
http://www.cyrius.com/


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-22-2007, 04:05 AM
Lucas Nussbaum
 
Default gcc compilation error with abs() affects sarge, etch, lenny, sid

On 21/11/07 at 18:03 +0100, Martin Michlmayr wrote:
> * Frans Pop <elendil@planet.nl> [2007-11-21 17:47]:
> > The most effective/efficient way to do this may be an archive rebuild with
> > a modified gcc that emits a warning if this case is hit and then check build
> > logs for the warning.
> >
> > Something like the patch below (stolen from the thread on linux-kernel).
>
> Sounds like something Lucas (CCed) could do.

I'm currently in VAC. I could start a rebuild on monday if someone
provides patched gcc packages for i386 for me.
--
| Lucas Nussbaum
| lucas@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr GPG: 1024D/023B3F4F |


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 11:58 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org