You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2023/02/27 11:56:02 UTC
[Bug 66495] New: Parallel build fails
https://bz.apache.org/bugzilla/show_bug.cgi?id=66495
Bug ID: 66495
Summary: Parallel build fails
Product: APR
Version: 1.7.2
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: APR
Assignee: bugs@apr.apache.org
Reporter: kloczko.tomasz@gmail.com
Target Milestone: ---
Looks like apr build somerimes fails with
libtool: error: '<file>.lo' is not a valid libtool object
Sometimes it passes but sometimes not and it happens in random files.
Example
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
cd test && /usr/bin/make all check
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/apr-1.7.2/test'
/bin/sh /home/tkloczko/rpmbuild/BUILD/apr-1.7.2/libtool --silent --mode=compile
--tag=CC /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none
-DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I../include
-I./../include -prefer-pic -o mod_test.lo \
-c ./mod_test.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/apr-1.7.2/test'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/apr-1.7.2/test'
/bin/sh /home/tkloczko/rpmbuild/BUILD/apr-1.7.2/libtool --silent --mode=compile
--tag=CC /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none
-DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I../include
-I./../include -o proc_child.lo -c proc_child.c && touch proc_child.lo
[..]
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/apr-1.7.2/test'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/apr-1.7.2/test'
/bin/sh /home/tkloczko/rpmbuild/BUILD/apr-1.7.2/libtool --silent --mode=compile
--tag=CC /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none
-DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I../include
-I./../include -o testatomic.lo -c testatomic.c && touch testatomic.lo
testatomic.c:892:13: warning: 'test_atomics_threaded_setread64' defined but not
used [-Wunused-function]
892 | static void test_atomics_threaded_setread64(abts_case *tc, void *data)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/apr-1.7.2/test'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/apr-1.7.2/test'
/bin/sh /home/tkloczko/rpmbuild/BUILD/apr-1.7.2/libtool --silent --mode=link
--tag=CC /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none
-DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I../include
-I./../include -no-install -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none
-fuse-linker-plugin -Wl,--build-id=sha1 -o testall abts.lo testutil.lo
testtime.lo teststr.lo testvsn.lo testipsub.lo testshm.lo testmmap.lo testud.lo
testtable.lo testsleep.lo testpools.lo testfmt.lo testfile.lo testdir.lo
testfileinfo.lo testrand.lo testdso.lo testoc.lo testdup.lo testsockets.lo
testproc.lo testpoll.lo testlock.lo testsockopt.lo testpipe.lo testthread.lo
testhash.lo testargs.lo testnames.lo testuser.lo testpath.lo testenv.lo
testprocmutex.lo testfnmatch.lo testatomic.lo testflock.lo testsock.lo
testglobalmutex.lo teststrnatcmp.lo testfilecopy.lo testtemp.lo testlfs.lo
testcond.lo testescape.lo testskiplist.lo testencode.lo ../libapr-1.la -luuid
-lcrypt -lpthread
libtool: error: 'testatomic.lo' is not a valid libtool object
make[1]: *** [Makefile:84: testall] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/apr-1.7.2/test'
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/apr-1.7.2/test'
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 66495] Parallel build fails
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66495
kloczek <kl...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from kloczek <kl...@gmail.com> ---
Just checked apr build framework and looks like apr is usimg se of custom mad
make files.
It would be really good to move to automake or abandon current framework and
move for example to meson.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 66495] Parallel build fails
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66495
--- Comment #2 from kloczek <kl...@gmail.com> ---
Looks like the same is with check target
+ cd apr-1.7.2
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
cd test && /usr/bin/make all check
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/apr-1.7.2/test'
/bin/sh /home/tkloczko/rpmbuild/BUILD/apr-1.7.2/libtool --silent --mode=compile
--tag=CC /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-U_FORTIFY_SOURC
E,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections
-flto=auto -flto-partition=none -
DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I../include
-I./../include -prefer-pic -o mod_test.lo \
-c ./mod_test.c
[..]
DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I../include
-I./../include -o testhash.lo -c testhash.c && touch testhash.lo
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/apr-1.7.2/test'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/apr-1.7.2/test'
/bin/sh /home/tkloczko/rpmbuild/BUILD/apr-1.7.2/libtool --silent --mode=link
--tag=CC /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-
D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -m
no-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections
-flto=auto -flto-partition=none -DHA
VE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I../include -I./../include
-no-install -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flt
o=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -o sendfile
sendfile.lo ../libapr-1.la -luuid -lcrypt -lpthread
libtool: error: 'sendfile.lo' is not a valid libtool object
make[1]: *** [Makefile:105: sendfile] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/apr-1.7.2/test'
make[1]: *** Waiting for unfinished jobs....
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org