| Summary: | Perl 5.8.4 segfaults on ppc | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Pieter Van den Abeele (RETIRED) <pvdabeel> |
| Component: | New packages | Assignee: | Gentoo Perl team <perl> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | michael.kiermaier |
| Priority: | High | ||
| Version: | 2004.1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Pieter Van den Abeele (RETIRED)
2004-06-01 11:38:05 UTC
These older bug reports are similar: http://bugs.gentoo.org/show_bug.cgi?id=50783 http://bugs.gentoo.org/show_bug.cgi?id=50542 In that cases, the problem can be resolved by using -O1 instead of heavier optimizations in the CFLAGS. Catalyst uses the same CFLAGS for the entire GRP set, so unfortunately I can't tell it to use -O1 for perl, because everything else would be compiled with -O1 too. I can add a check that sets -OX to -O1 on ppc? Isn't it possible to override the CFLAGS for ppc in the perl ebuild (like the mplayer ebuild does)? I guess that there is one single optimization-parameter within O2, but not within O1, that results in the segfault. The best solution would be, in my opinion, to track down this optimization, and to switch it off in the ebuild, in the case that it is executed on ppc architecture. Compiling perl with gcc-3.3.3_pre20040408-r1 fixes the problem on my machine. |