OpenSolaris

Printable Version Enter a New Search
Bug ID 6273875
Synopsis gcc and sgs/rtld don't get along
State 10-Fix Delivered (Fix available in build)
Category:Subcategory compiler:linker
Keywords tonic-gcc
Responsible Engineer Seizo Sakurai
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_21
Fixed In snv_21
Release Fixed solaris_nevada(snv_21) , solaris_10u1(s10u1_14) (Bug ID:2128442) solaris_9(Bug ID:2128443,) solaris_8(Bug ID:2128444,)
Related Bugs
Submit Date 20-May-2005
Last Update Date 12-January-2007
Description
When building ON with gcc (on x86) there are some warnings in sgs/rtld.
gcc doesn't like implicit conversions between pointers and integers of different
sizes, so break out the uintptr_t's. And there's a constant that doesn't fit
in a long so add a ULL suffix.

The suggested fix compiles but I haven't tested it.

 xxxxx@xxxxx.com 2005-05-20 18:38:59 GMT

The webrev output for the fix for the following bugs:

	6273855 gcc and sgs/crle don't get along
	6273864 gcc and sgs/libld don't get along
	6273875 gcc and sgs/rtld don't get along
	6272563 gcc and amd64/krtld/doreloc.c don't get along
	6290157 gcc and sgs/librtld_db/rdb_demo don't get along

can be found at:
	/net/linkers/linkers/ws/webrevs/linker_gcc


 xxxxx@xxxxx.com 2005-06-28 01:09:43 GMT
Work Around
N/A
Comments
N/A