bug-libtool
[Top][All Lists]
Advanced

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

Error while running `make check' in libtool-1.5


From: Andy Tsouladze
Subject: Error while running `make check' in libtool-1.5
Date: Thu, 11 Dec 2003 19:02:09 -0600 (CST)

Hello,

While installing libtool-1.5, I got one error when I ran `make check'
after compiling the tool.

My system config: Sparc Solaris-2.8 64-bit
address@hidden:libtool-1.5/tests# uname -a
SunOS sawww 5.8 Generic sun4u sparc SUNW,UltraSPARC-IIi-cEngine

Gcc: 3.3.2, 64-bit
address@hidden:libtool-1.5/tests# gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparcv9-sun-solaris2.8/3.3.2/specs
Configured with: ../gcc-3.3.2/configure --disable-nls
--host=sparcv9-sun-solaris2.8 --with-libiconv-prefix=/usr/local
Thread model: posix
gcc version 3.3.2

Make: 3.80, 64-bit
address@hidden:libtool-1.5/tests# make -v
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Because I compile everything 64-bit, I have
LDFLAGS=-R/usr/local/lib/sparcv9 defined.

Compilation process:
./configure
make
make check

Failure is in `demo-make.test':
PASS: demo-pic.test
PASS: demo-make.test
PASS: demo-exec.test
PASS: demo-nopic.test
FAIL: demo-make.test
SKIP: demo-exec.test

To investigate the failure somewhat deeper, I did the following:

1. cd tests
2. In Makefile, changed TESTS so it includes only COMMON_TESTS:
TESTS = $(COMMON_TESTS)

and changed COMMON_TESTS to include only six tests:

COMMON_TESTS = \
        demo-pic.test demo-make.test demo-exec.test \
        demo-nopic.test demo-make.test demo-exec.test


3. In `defs' file, added
VERBOSE=1

4. Ran make -d check-TESTS

Just before the failure, here is what I got:

-----------------------------------------------------

/bin/bash ./libtool --mode=link gcc  -g -O2  -R/usr/local/lib/sparcv9 -o
libhello.la -rpath /usr/local/lib -no-undefined -version-info 3:12:1
hello.lo foo.lo -lm
Putting child 0x100143470 (libhello.la) PID 27481 on the chain.
Live child 0x100143470 (libhello.la) PID 27481
gcc -shared -Wl,-h -Wl,libhello.so.2 -o .libs/libhello.so.2.1.12
.libs/hello.o .libs/foo.o  -R/usr/local/lib/sparcv9 -lm -lc
Text relocation remains                         referenced
    against symbol                  offset      in file
<unknown>                           0x8         .libs/hello.o
<unknown>                           0xc         .libs/hello.o
<unknown>                           0x24        .libs/hello.o
<unknown>                           0x4         .libs/hello.o
puts                                0x20        .libs/hello.o
<unknown>                           0x8         .libs/foo.o
<unknown>                           0xc         .libs/foo.o
<unknown>                           0x20        .libs/foo.o
<unknown>                           0x24        .libs/foo.o
<unknown>                           0x28        .libs/foo.o
<unknown>                           0x2c        .libs/foo.o
<unknown>                           0x44        .libs/foo.o
<unknown>                           0x4         .libs/foo.o
printf                              0x40        .libs/foo.o
cos                                 0x1c        .libs/foo.o
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x100143470 PID 27481
make[1]: *** [libhello.la] Error 1
Removing child 0x100143470 PID 27481 from chain.
make[1]: Leaving directory `/opt/src/libtool-1.5/demo'
+ exit 1
FAIL: demo-make.test
=== Running demo-exec.test
You must run demo-make.test before running ./demo-exec.test
SKIP: demo-exec.test
====================================
1 of 5 tests failed
(1 tests were not run)
Please report to address@hidden
====================================
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x1001495c0 PID 18614
make: *** [check-TESTS] Error 1
Removing child 0x1001495c0 PID 18614 from chain.

-----------------------------------------------------

Regards,

Andy

Dr Andy Tsouladze
Sr Unix SysAdmin
UAL Loyalty Services




reply via email to

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