This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Solaris 10: wchar_iso.h vs cwchar


2011/9/4 Maciej BliziÅski:
> Here's an update: When building with gmp/mpc/mpfr sources inside gcc
> sources, I get this error message:
>
> libtool: compile: Â/opt/csw/gcc3/bin/gcc -DHAVE_CONFIG_H -I.
> -I../../../gcc-4.6.1/mpc/src -I.. -I/home/maciej/src/gcc-objdir/./gmp
> -I/home/maciej/src/gcc-4.6.1/mpfr -g -fkeep-inline-functions -MT
> get_prec.lo -MD -MP -MF .deps/get_prec.Tpo -c
> ../../../gcc-4.6.1/mpc/src/get_prec.c -o get_prec.o
> ../../../gcc-4.6.1/mpc/src/get.c: In function `mpc_get_dc':
> ../../../gcc-4.6.1/mpc/src/get.c:33: error: `_Imaginary_I' undeclared
> (first use in this function)
> ../../../gcc-4.6.1/mpc/src/get.c:33: error: (Each undeclared
> identifier is reported only once
> ../../../gcc-4.6.1/mpc/src/get.c:33: error: for each function it appears in.)
> ../../../gcc-4.6.1/mpc/src/get.c: In function `mpc_get_ldc':
> ../../../gcc-4.6.1/mpc/src/get.c:39: error: `_Imaginary_I' undeclared
> (first use in this function)
> gmake[5]: *** [get.lo] Error 1
>
> As a separate effort, I have built gcc again, using the OpenCSW build
> system, with less options and simplified environment. There's a new
> problem I ran into. ÂHere's the error message I'm getting from
> checkpkg:
>
> Â* libgcc_s.so.1 could not be resolved for opt/csw/lib/libstdc++.so.6.0.16,
> Â with rpath ('/usr/lib/$ISALIST', '/usr/lib', '/lib/$ISALIST', '/lib'),
> Â expanded to ['/usr/lib', '/usr/lib/sparcv8plus+vis', '/usr/lib/sparcv8',
> Â '/usr/lib/sparcv8plus', '/usr/lib/sparcv9', '/usr/lib/sparcv8plus+vis2',
> Â '/usr/lib/sparcv7', '/usr/lib/sparcv8-fsmuld', '/usr/lib/sparc',
> Â '/usr/lib/sparcv9+vis2', '/usr/lib/sparcv9+vis', '/usr/lib', '/lib',
> Â '/lib/sparcv8plus+vis', '/lib/sparcv8', '/lib/sparcv8plus', '/lib/sparcv9',
> Â '/lib/sparcv8plus+vis2', '/lib/sparcv7', '/lib/sparcv8-fsmuld',
> Â '/lib/sparc', '/lib/sparcv9+vis2', '/lib/sparcv9+vis', '/lib'], while the
> Â file was available at the following paths: [u'/opt/csw/gcc3/lib',
> Â '/opt/csw/lib/sparcv9', '/opt/csw/lib',
> Â u'/opt/csw/share/Adobe/Reader8/Reader/sparcsolaris/lib',
> Â u'/opt/csw/gcc3/lib/sparcv9'].
>
> Looking at the binary:
>
> maciej@unstable9s :~/src/opencsw/pkg/gcc4/branches/opt-csw-prefix >
> /usr/ccs/bin/dump -Lv
> work/solaris9-sparc/pkgroot/opt/csw/lib/libstdc++.so.6
>
> work/solaris9-sparc/pkgroot/opt/csw/lib/libstdc++.so.6:
>
> Â**** DYNAMIC SECTION INFORMATION ****
> .dynamic:
> [INDEX] Tag     Value
> [1] Â Â NEEDED Â Â Â Â Âlibm.so.1
> [2] Â Â NEEDED Â Â Â Â Âlibgcc_s.so.1
> [3] Â Â NEEDED Â Â Â Â Âlibc.so.1
> [4] Â Â INIT Â Â Â Â Â Â0x57b50
> [5] Â Â FINI Â Â Â Â Â Â0x57b6c
> [6] Â Â SONAME Â Â Â Â Âlibstdc++.so.6
> [7] Â Â HASH Â Â Â Â Â Â0x94
> [8] Â Â STRTAB Â Â Â Â Â0x15c54
> [9] Â Â STRSZ Â Â Â Â Â 0x25ad5
> [10] Â ÂSYMTAB Â Â Â Â Â0x7484
> [11] Â ÂSYMENT Â Â Â Â Â0x10
> [12] Â ÂCHECKSUM Â Â Â Â0xb012
> [13] Â ÂVERDEF Â Â Â Â Â0x3b79c
> [14] Â ÂVERDEFNUM Â Â Â 0x18
> [15] Â ÂVERNEED Â Â Â Â 0x3b72c
> [16] Â ÂVERNEEDNUM Â Â Â0x3
> [17] Â ÂPLTSZ Â Â Â Â Â 0x1fb0
> [18] Â ÂPLTREL Â Â Â Â Â0x7
> [19] Â ÂJMPREL Â Â Â Â Â0x4dee4
> [20] Â ÂRELA Â Â Â Â Â Â0x3d7e0
> [21] Â ÂRELASZ Â Â Â Â Â0x126b4
> [22] Â ÂRELAENT Â Â Â Â 0xc
> [23] Â ÂFEATURE_1 Â Â Â PARINIT
> [24] Â ÂFLAGS Â Â Â Â Â 0
> [25] Â ÂFLAGS_1 Â Â Â Â DISPRELDONE
> [26] Â ÂPLTGOT Â Â Â Â Â0xdde20
>
> The library has in fact libgcc_s.so.1 in NEEDED, but does not have RPATH set.

Again, this is by design.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]