[LLVMdev] problem building gcc4 front end on fedora core 5

Ram Bhamidipaty rambham at gmail.com
Sun Dec 3 10:14:49 PST 2006


Thank you!

This did the trick.

-Ram


On 12/3/06, Jim Laskey <jlaskey at apple.com> wrote:
> There was a patch that went thru for this recently from Rafael Espindola.
> The fix is on the mirror.
>
> Index: gcc/dwarf2out.c
> ===================================================================
> --- gcc/dwarf2out.c (revision 120589)
> +++ gcc/dwarf2out.c (working copy)
> @@ -14361,9 +14361,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,
>
> Cheers,
>
> -- Jim
>
>
>
> On Dec 3, 2006, at 9:20 AM, Ram Bhamidipaty wrote:
>
>
> ../../llvm-gcc4-1.9.source/gcc/libgcc2.c -o libgcc/./_mulvdi3.o
>
> ../../llvm-gcc4-1.9.source/gcc/libgcc2.c:403: internal compiler error:
>
> in prune_unused_types_update_strings, at dwarf2out.c:14372
>
> Please submit a full bug report,
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
>
>



More information about the llvm-dev mailing list