Bug 37277 - bootstrap failure with --with-dwarf2 on Solaris 10
Summary: bootstrap failure with --with-dwarf2 on Solaris 10
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.3.2
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-29 13:10 UTC by Jonathan Wakely
Modified: 2008-09-01 13:18 UTC (History)
2 users (show)

See Also:
Host: sparc-sun-solaris2.10
Target: sparc-sun-solaris2.10
Build: sparc-sun-solaris2.10
Known to work:
Known to fail:
Last reconfirmed:


Attachments
gcc/gtyp-input.list (1011 bytes, text/plain)
2008-08-29 13:11 UTC, Jonathan Wakely
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Wakely 2008-08-29 13:10:41 UTC
/home/wakelyjo/src/gcc/gcc-4.3.2/configure --prefix=/home/wakelyjo/src/gcc/sol10-64/INSTALL  --with-gmp=/home/wakelyjo/src/gcc/sol10-64/INSTALL --with-mpfr=/home/wakelyjo/src/gcc/sol10-64/INSTALL --with-dwarf2

Bootstrap fails with:

build/gengtype /home/wakelyjo/src/gcc/gcc-4.3.2/gcc gtyp-input.list
gtyp-input.list:20: file /home/wakelyjo/src/gcc/gcc-4.3.2/gcc/config/tm-dwarf2.h specified more than once for language (all)
make[3]: *** [s-gtype] Error 1
make[3]: Leaving directory `/home/wakelyjo/src/gcc/tmp/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/wakelyjo/src/gcc/tmp'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/wakelyjo/src/gcc/tmp'
make: *** [all] Error 2
Comment 1 Jonathan Wakely 2008-08-29 13:11:38 UTC
Created attachment 16161 [details]
gcc/gtyp-input.list

Here is the generated file with the duplicate entry
Comment 2 Jonathan Wakely 2008-08-29 13:36:12 UTC
I think this is a regression against 4.2.2 as I have working compilers for sparc-sun-solaris2.10 and sparc64-sun-solaris2.10 which were both configured with --with-dwarf2 (although I didn't build them myself so I'm not 100% sure)
Comment 3 Eric Botcazou 2008-08-29 20:26:16 UTC
Remove --with-dwarf2, it is useless now.
Comment 4 Jonathan Wakely 2008-09-01 08:39:04 UTC
Yes, I realise that, but it's still documented and it was apparently harmless with 4.2.2
Comment 5 Eric Botcazou 2008-09-01 13:18:21 UTC
> Yes, I realise that, but it's still documented and it was apparently harmless
> with 4.2.2

It's still documented because it's still useful on platforms that don't default
to DWARF-2, which is not the case of Solaris anymore.