Skip to contentSkip to conversation

Build Fails on some archs

LTP Mark Ver 2 participants 4 messages Nov 4, 2009 – Nov 5, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mark Ver

author
#1 lore raw

I seem to be getting 2 different build problems on s390x:

On SLES-10 SP3, the make attempt gets nowhere (still need to check if reproducible on a different system):
...
config.status: executing depfiles commands
config.status: executing libtool commands h91distr02:~/ltp-full-20091031 # make all
make: *** No rule to make target /$*', needed by pan-all'. Stop. h91distr02:~/ltp-full-20091031 #

On RHEL5.4 and SLES-11 am getting build problem with the controllers subdirs, ex:

SLES-11:
...
make[3]: Entering directory `/root/ltp-full-20091031/testcases/kernel/controllers'
make[4]: Entering directory `/root/ltp-full-20091031/testcases/kernel/controllers/cgroup'
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I/root/ltp-full-20091031/testcases/kernel/include -I/root/ltp-full-20091031/testcases/kernel/controllers/cgroup/../libcontrollers -I../../../../include -I../../../../include -L/root/ltp-full-20091031/testcases/kernel/controllers/cgroup/../libcontrollers
-L../../../../lib fork_processes.c -lltp -lcontrollers -o
fork_processes /usr/lib64/gcc/s390x-suse-linux/4.3/../../../../s390x-suse-linux/bin/ld:
cannot find -lcontrollers
collect2: ld returned 1 exit status
make[4]: *** [fork_processes] Error 1
make[4]: Leaving directory `/root/ltp-full-20091031/testcases/kernel/controllers/cgroup' make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/ltp-full-20091031/testcases/kernel/controllers'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ltp-full-20091031/testcases/kernel' make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ltp-full-20091031/testcases'
make: *** [testcases-all] Error 2

RHEL5.4:
...
make[3]: Entering directory `/root/ltp-full-20091031/testcases/kernel/controllers'
make[4]: Entering directory `/root/ltp-full-20091031/testcases/kernel/controllers/cgroup_fj'
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I/root/ltp-full-20091031/testcases/kernel/include -I/root/ltp-full-20091031/testcases/kernel/controllers/cgroup_fj/../libcontrollers -Wall -O2 -Wextra -I../../../../include -I../../../../include -L/root/ltp-full-20091031/testcases/kernel/controllers/cgroup_fj/../libcontrollers
-L../../../../lib cgroup_fj_proc.c -lltp -lcontrollers -o
cgroup_fj_proc
/usr/bin/ld: cannot find -lcontrollers
collect2: ld returned 1 exit status
make[4]: *** [cgroup_fj_proc] Error 1
make[4]: Leaving directory `/root/ltp-full-20091031/testcases/kernel/controllers/cgroup_fj' make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/ltp-full-20091031/testcases/kernel/controllers'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ltp-full-20091031/testcases/kernel' make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ltp-full-20091031/testcases'
make: *** [testcases-all] Error 2

Also should I expect the same result if I retry the compile with the following?
make clean
make autotools
./configure
make all

Cause RHEL5.4 and SLES-11 get the same error but a different complaint
than what they got on the original build attempt:
...
make[5]: Entering directory `/root/ltp-full-20091031/testcases/kernel/controllers/cpuset/cpuset_syscall_test' gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I/root/ltp-full-20091031/testcases/kernel/include
-I../../../../../include -I../../../../../include -L/root/ltp-full-20091031/testcases/kernel/controllers/cpuset/cpuset_syscall_test/../cpuset_lib
-L../../../../../lib cpuset_syscall_test.c -lltp -lcpu_set -o
cpuset_syscall_test
cpuset_syscall_test.c: In function âget_mempolicyâ:
cpuset_syscall_test.c:67: error: â__NR_get_mempolicyâ undeclared (first
use in this function)
cpuset_syscall_test.c:67: error: (Each undeclared identifier is reported
only once
cpuset_syscall_test.c:67: error: for each function it appears in.) cpuset_syscall_test.c: In function âmbindâ:
cpuset_syscall_test.c:73: error: â__NR_mbindâ undeclared (first use in
this function)
cpuset_syscall_test.c: In function âset_mempolicyâ:
cpuset_syscall_test.c:78: error: â__NR_set_mempolicyâ undeclared (first
use in this function)
cpuset_syscall_test.c: In function âprocess_optionsâ:
cpuset_syscall_test.c:100: warning: unused variable âfileâ cpuset_syscall_test.c: In function âtest_mbindâ:
cpuset_syscall_test.c:177: warning: format â%lxâ expects type âlong
unsigned intâ, but argument 2 has type âvoid *â
make[5]: *** [cpuset_syscall_test] Error 1
make[5]: Leaving directory `/root/ltp-full-20091031/testcases/kernel/controllers/cpuset/cpuset_syscall_test' make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/ltp-full-20091031/testcases/kernel/controllers/cpuset'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/ltp-full-20091031/testcases/kernel/controllers'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ltp-full-20091031/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ltp-full-20091031/testcases'
make: *** [testcases-all] Error 2

- Mark Ver

office: Building 710 / Room 2-RF-10
phone: (845) 435-7794 [tie 8 295-7794]

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#2 lore raw
Quoted 110 lines · Mark Ver

I seem to be getting 2 different build problems on s390x:

On SLES-10 SP3, the make attempt gets nowhere (still need to check if reproducible on a different system):
...
config.status: executing depfiles commands
config.status: executing libtool commands h91distr02:~/ltp-full-20091031 # make all
make: *** No rule to make target /$*', needed by pan-all'.  Stop. h91distr02:~/ltp-full-20091031 #

On RHEL5.4 and SLES-11 am getting build problem with the controllers subdirs,  ex:

SLES-11:
...
make[3]: Entering directory /root/ltp-full-20091031/testcases/kernel/controllers' make[4]: Entering directory /root/ltp-full-20091031/testcases/kernel/controllers/cgroup' gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I/root/ltp-full-20091031/testcases/kernel/include

(quoted diff) +0 -4
-I/root/ltp-full-20091031/testcases/kernel/controllers/cgroup/../libcontrollers
-I../../../../include -I../../../../include
-L/root/ltp-full-20091031/testcases/kernel/controllers/cgroup/../libcontrollers
-L../../../../lib  fork_processes.c   -lltp -lcontrollers -o fork_processes

/usr/lib64/gcc/s390x-suse-linux/4.3/../../../../s390x-suse-linux/bin/ld:
cannot find -lcontrollers
collect2: ld returned 1 exit status
make[4]: *** [fork_processes] Error 1
make[4]: Leaving directory `/root/ltp-full-20091031/testcases/kernel/controllers/cgroup' make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/ltp-full-20091031/testcases/kernel/controllers' make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ltp-full-20091031/testcases/kernel' make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ltp-full-20091031/testcases'
make: *** [testcases-all] Error 2

RHEL5.4:
...
make[3]: Entering directory /root/ltp-full-20091031/testcases/kernel/controllers' make[4]: Entering directory /root/ltp-full-20091031/testcases/kernel/controllers/cgroup_fj' gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I/root/ltp-full-20091031/testcases/kernel/include

(quoted diff) +0 -4
-I/root/ltp-full-20091031/testcases/kernel/controllers/cgroup_fj/../libcontrollers
-Wall -O2 -Wextra -I../../../../include -I../../../../include
-L/root/ltp-full-20091031/testcases/kernel/controllers/cgroup_fj/../libcontrollers
-L../../../../lib  cgroup_fj_proc.c   -lltp -lcontrollers -o cgroup_fj_proc

/usr/bin/ld: cannot find -lcontrollers
collect2: ld returned 1 exit status
make[4]: *** [cgroup_fj_proc] Error 1
make[4]: Leaving directory `/root/ltp-full-20091031/testcases/kernel/controllers/cgroup_fj' make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/ltp-full-20091031/testcases/kernel/controllers' make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ltp-full-20091031/testcases/kernel' make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ltp-full-20091031/testcases'
make: *** [testcases-all] Error 2

Also should I expect the same result if I retry the compile with the following?
        make clean
        make autotools
        ./configure
        make all

Cause RHEL5.4 and SLES-11 get the same error but a different complaint than what they got on the original build attempt:
...
make[5]: Entering directory `/root/ltp-full-20091031/testcases/kernel/controllers/cpuset/cpuset_syscall_test' gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I/root/ltp-full-20091031/testcases/kernel/include -I../../../../../include

(quoted diff) +0 -3
-I../../../../../include
-L/root/ltp-full-20091031/testcases/kernel/controllers/cpuset/cpuset_syscall_test/../cpuset_lib
-L../../../../../lib  cpuset_syscall_test.c   -lltp -lcpu_set -o

cpuset_syscall_test
cpuset_syscall_test.c: In function âget_mempolicyâ:
cpuset_syscall_test.c:67: error: â__NR_get_mempolicyâ undeclared (first use in this function)
cpuset_syscall_test.c:67: error: (Each undeclared identifier is reported only once
cpuset_syscall_test.c:67: error: for each function it appears in.) cpuset_syscall_test.c: In function âmbindâ:
cpuset_syscall_test.c:73: error: â__NR_mbindâ undeclared (first use in this function)
cpuset_syscall_test.c: In function âset_mempolicyâ:
cpuset_syscall_test.c:78: error: â__NR_set_mempolicyâ undeclared (first use in this function)
cpuset_syscall_test.c: In function âprocess_optionsâ:
cpuset_syscall_test.c:100: warning: unused variable âfileâ cpuset_syscall_test.c: In function âtest_mbindâ:
cpuset_syscall_test.c:177: warning: format â%lxâ expects type âlong unsigned intâ, but argument 2 has type âvoid *â
make[5]: *** [cpuset_syscall_test] Error 1
make[5]: Leaving directory `/root/ltp-full-20091031/testcases/kernel/controllers/cpuset/cpuset_syscall_test' make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/ltp-full-20091031/testcases/kernel/controllers/cpuset'

Quoted 8 lines

make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/ltp-full-20091031/testcases/kernel/controllers' make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ltp-full-20091031/testcases/kernel' make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ltp-full-20091031/testcases'
make: *** [testcases-all] Error 2

Mark,
Someone else reported similar recently. Can you please tell us
what version of Gnu make you're using?
Thanks,
-Garrett

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

author
#3 lore raw
Quoted 11 lines
Quoted 8 lines

On SLES-10 SP3, the make attempt gets nowhere ... h91distr02:~/ltp-full-20091031 # make all
make: *** No rule to make target /$*', needed by pan-all'. Stop. h91distr02:~/ltp-full-20091031 #
...
On RHEL5.4 and SLES-11 am getting build problem with the controllers subdirs, ex:
...

Someone else reported similar recently. Can you please tell us
what version of Gnu make you're using?

SLES-10 SP3: make-3.80-202.2

As for the ones failing on the controllers/cgroup stuff:

SLES-11:    make-3.81-128.20
RHEL5.4:    make-3.81-3.el5

- Mark Ver

office: Building 710 / Room 2-RF-10
phone: (845) 435-7794 [tie 8 295-7794]

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#4 lore raw
Quoted 10 lines · Mark Ver
Quoted 10 lines
Quoted 9 lines

On SLES-10 SP3, the make attempt gets nowhere ... h91distr02:~/ltp-full-20091031 # make all
make: *** No rule to make target /$*', needed by pan-all'.  Stop. h91distr02:~/ltp-full-20091031 #

...
On RHEL5.4 and SLES-11 am getting build problem with the controllers subdirs,  ex:
...

Quoted 4 lines
Quoted 2 lines

    Someone else reported similar recently. Can you please tell us what version of Gnu make you're using?

SLES-10 SP3:  make-3.80-202.2

I just talked with SimonXu on #ltp, and he ran into the same issue, so I added some additional sections to describe the problem in the INSTALL file.

Quoted 4 lines

As for the ones failing on the controllers/cgroup stuff:

SLES-11: make-3.81-128.20
RHEL5.4: make-3.81-3.el5

I'll take a look at that.
Thanks!
-Garrett

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list