bootstrap failure on i686-pc-linux-gnu
Geoff Keating
geoffk@geoffk.org
Tue Apr 18 06:20:00 GMT 2006
On 17/04/2006, at 9:55 PM, Ben Elliston wrote:
> Hi Geoff
>
> I'm seeing a bootstrap failure on x86 Linux that looks to be due to
> your change (noted below):
>
> /home/bje/build/gcc-clean/./gcc/xgcc -B/home/bje/build/gcc-clean/./
> gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-
> gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem /
> usr/local/i686-pc-linux-gnu/sys-include -O2 -O2 -g -O2 -
> DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
> prototypes -Wold-style-definition -isystem ./include -fPIC -g -
> DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -msse -c \
> /home/bje/source/gcc-clean/gcc/config/i386/
> crtfastmath.c \
> -o crtfastmath.o
> /home/bje/source/gcc-clean/gcc/config/i386/crtfastmath.c:110:
> internal compiler error: in prune_unused_types_update_strings, at
> dwarf2out.c:14009
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>
> 2006-04-17 Geoffrey Keating <geoffk@apple.com>
>
> * dwarf2out.c (free_AT): Delete.
> (remove_AT): Update string ref counts.
> (remove_child_TAG): Don't call free_die.
> (free_die): Delete.
> (break_out_includes): Don't call free_die on DW_TAG_GNU_BINCL
> or DW_TAG_GNU_EINCL.
> (prune_unused_types_walk_attribs): Reset string refcounts.
Does this help?
@@ -13802,9 +13777,8 @@
s->refcount++;
/* Avoid unnecessarily putting strings that are used less than
twice in the hash table. */
- if (s->refcount == 2
- || (s->refcount == 1
- && (DEBUG_STR_SECTION_FLAGS & SECTION_MERGE) != 0))
+ if (s->refcount
+ == ((DEBUG_STR_SECTION_FLAGS & SECTION_MERGE) ? 1 : 2))
{
void ** slot;
slot = htab_find_slot_with_hash (debug_str_hash, s->str,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2410 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20060418/a54ae6f1/attachment.p7s>
More information about the Gcc
mailing list