[indiana-discuss] QT4 compilation: "ld: warning: relocation warning: R_386_32"

gerard henry gerard.henry at free.fr
Sun Oct 5 00:08:38 PDT 2008


hello all,
i'm compiling qt-x11-opensource-src-4.4.3 on sun ultra20, os2008.11, and 
got strange warnings:

ld: warning: relocation warning: R_386_32: file 
.obj/release-shared/htmlgenerator.o: section .rel.eh_frame: symbol 
.gnu.linkonce.t._ZN5QListI5QPairI7QStringS1_EE4freeEPN9QListData4DataE 
(section): relocation against discarded COMDAT section 
.gnu.linkonce.t._ZN5QListI5QPairI7QStringS1_EE4freeEPN9QListData4DataE: 
symbol not found, relocation ignored

I'm using Sun bundled gcc
-bash-3.2$ gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
Configured with: /builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure 
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as 
--with-ld=/usr/ccs/bin/ld --without-gnu-ld 
--enable-languages=c,c++,f77,objc --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-20050802)

and ld:
-bash-3.2$ ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1619

The same sources compile fine on S10U5, and the resulting binaries are 
usable on os2008.11.
Is it Sun ld related or gcc problems?

Thanks for help,

gerard



More information about the indiana-discuss mailing list