libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.0 branch: demo-make.test now fails under Solaris


From: Albert Chin
Subject: Re: 2.0 branch: demo-make.test now fails under Solaris
Date: Sun, 19 Dec 2004 17:08:09 -0600
User-agent: Mutt/1.5.6i

On Sun, Dec 19, 2004 at 01:48:46PM -0600, Bob Friesenhahn wrote:
> The demo-make.test now fails under Solaris with the following errors:
> 
>  gcc-3.4.2 -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\" 
> -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"demo 1.0\"" -DP
> ACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE=\"demo\" 
> -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_
> SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1
>  -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 
> -DHAVE_MATH_H=1 -I. -I/home/bfriesen/src/gnu/libtool-branch-2-0/
> tests/demo 
> -I/home/bfriesen/src/gnu/libtool-branch-2-0/tests/demo/../.. -O2 -g 
> -Wall -Winline -W -c /home/bfriesen/src/gnu/
> libtool-branch-2-0/tests/demo/foo.c -o foo.o >/dev/null 2>&1
> /bin/bash ./libtool --tag=CC --mode=link gcc-3.4.2  -O2 -g -Wall 
> -Winline -W  -L/usr/local/lib -R/usr/local/lib -L/usr/loca
> l/lib -R/usr/local/lib -o libhello.la -rpath /usr/local/lib 
> -no-undefined -version-info 3:12:1 hello.lo foo.lo -lm
> gcc-3.4.2 -shared -Wl,-h -Wl,libhello.so.2 -o .libs/libhello.so.2.1.12 
> .libs/hello.o .libs/foo.o   -R/usr/local/lib -L/usr
> /local/lib -lm -lc
> Text relocation remains                         referenced
>     against symbol                  offset      in file
> <unknown>                           0x4         .libs/hello.o
> <unknown>                           0xc         .libs/hello.o
> <unknown>                           0x4         .libs/foo.o
> <unknown>                           0xc         .libs/foo.o
> puts                                0x10        .libs/hello.o
> printf                              0x10        .libs/foo.o
> ld: fatal: relocations remain against allocatable but non-writable 
> sections
> collect2: ld returned 1 exit status

Does this mean .libs/hello.o, .libs/foo.o weren't compiled with -fPIC?

-- 
albert chin (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]