OpenSolaris

Printable Version Enter a New Search
Bug ID 6310534
Synopsis new gcc options should be used to build ON
State 10-Fix Delivered (Fix available in build)
Category:Subcategory consolidation:os-net-misc
Keywords tonic-gcc
Responsible Engineer Keith Wesolowski
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_25
Fixed In snv_25
Release Fixed solaris_nevada(snv_25)
Related Bugs
Submit Date 12-August-2005
Last Update Date 10-October-2005
Description
A forthcoming update to gcc in SFW will offer the following new flags:

-mno-integer-ldd-std (SPARC only)
-fno-constant-pools
-fno-jump-tables
-fno-dwarf2-indirect-strings

cw should map -Wu,-no_got_reloc to -fno-constant-pools -fno-jump-tables
on x86, and both flags should be added to the sparc krtld Makefile.  These
prevent the use of constructs which would trigger a need for GOT relocations
in krtld.

DWARF2 indirect string suppression should be enabled as a part of CTF_CFLAGS.
Without this option, CTF data may be generated incorrectly because libdwarf
does not interpret relocations when reading debug data.

cw should unconditionally use -mno-integer-ldd-std on SPARC to avoid
tripping over buggy code that assumes 4-byte alignment is sufficient
for long long types.
Work Around
N/A
Comments
N/A