#70 multiple definitions with slibtool convenience archive
Closed 9 months ago by orbea. Opened 9 months ago by orbea.

OS: Gentoo
slibtool: 62a0071
ola: 0.10.9

After issue #68 was fixed it exposed an additional issue in multiple definitions link failure with a convenience archive in ola.

The issue is only reproducible if --disable-static is not used.

rdlibtool --tag=CXX --mode=link g++ -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -Werror -Wno-error=deprecated-declarations -Wconversion -I/usr/include/uuid -g -O2 -std=gnu++11 -o libs/acn/libolae131core.la libs/acn/libolae131core_la-BaseInflator.lo libs/acn/libolae131core_la-DMPAddress.lo libs/acn/libolae131core_la-DMPE131Inflator.lo libs/acn/libolae131core_la-DMPInflator.lo libs/acn/libolae131core_la-DMPPDU.lo libs/acn/libolae131core_la-E131DiscoveryInflator.lo libs/acn/libolae131core_la-E131Inflator.lo libs/acn/libolae131core_la-E131Node.lo libs/acn/libolae131core_la-E131PDU.lo libs/acn/libolae131core_la-E131Sender.lo libs/acn/libolae131core_la-E133Inflator.lo libs/acn/libolae131core_la-E133PDU.lo libs/acn/libolae131core_la-E133StatusInflator.lo libs/acn/libolae131core_la-E133StatusPDU.lo libs/acn/libolae131core_la-PDU.lo libs/acn/libolae131core_la-PreamblePacker.lo libs/acn/libolae131core_la-RDMInflator.lo libs/acn/libolae131core_la-RDMPDU.lo libs/acn/libolae131core_la-RootInflator.lo libs/acn/libolae131core_la-RootPDU.lo libs/acn/libolae131core_la-RootSender.lo libs/acn/libolae131core_la-TCPTransport.lo libs/acn/libolae131core_la-UDPTransport.lo -luuid common/libolacommon.la libs/acn/libolaacn.la

rdlibtool: lconf: {.name="libtool"}.
rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/tmp/ola-0.10.9"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 30, .st_ino = 965473}.
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/tmp/ola-0.10.9/libtool".
rdlibtool: link: ln -s libolae131core.so.def libs/acn/.libs/libolae131core.so.def.linux
rdlibtool: link: ln -s libolae131core.so.def.linux libs/acn/.libs/libolae131core.so.def.host
rdlibtool: link: ar -crs libs/acn/.libs/libolae131core.a libs/acn/.libs/libolae131core_la-BaseInflator.o libs/acn/.libs/libolae131core_la-DMPAddress.o libs/acn/.libs/libolae131core_la-DMPE131Inflator.o libs/acn/.libs/libolae131core_la-DMPInflator.o libs/acn/.libs/libolae131core_la-DMPPDU.o libs/acn/.libs/libolae131core_la-E131DiscoveryInflator.o libs/acn/.libs/libolae131core_la-E131Inflator.o libs/acn/.libs/libolae131core_la-E131Node.o libs/acn/.libs/libolae131core_la-E131PDU.o libs/acn/.libs/libolae131core_la-E131Sender.o libs/acn/.libs/libolae131core_la-E133Inflator.o libs/acn/.libs/libolae131core_la-E133PDU.o libs/acn/.libs/libolae131core_la-E133StatusInflator.o libs/acn/.libs/libolae131core_la-E133StatusPDU.o libs/acn/.libs/libolae131core_la-PDU.o libs/acn/.libs/libolae131core_la-PreamblePacker.o libs/acn/.libs/libolae131core_la-RDMInflator.o libs/acn/.libs/libolae131core_la-RDMPDU.o libs/acn/.libs/libolae131core_la-RootInflator.o libs/acn/.libs/libolae131core_la-RootPDU.o libs/acn/.libs/libolae131core_la-RootSender.o libs/acn/.libs/libolae131core_la-TCPTransport.o libs/acn/.libs/libolae131core_la-UDPTransport.o
rdlibtool: link: ln -s /dev/null libs/acn/.libs/libolae131core.so.disabled
rdlibtool: link: ln -s ../libolae131core.la libs/acn/.libs/libolae131core.la
rdlibtool  --tag=CXX   --mode=link g++ -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden  -Werror -Wno-error=deprecated-declarations -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -g -O2 -std=gnu++11    -o plugins/e131/libolae131.la -rpath /usr/local/lib plugins/e131/libolae131_la-E131Device.lo plugins/e131/libolae131_la-E131Plugin.lo plugins/e131/libolae131_la-E131Port.lo olad/plugin_api/libolaserverplugininterface.la plugins/e131/messages/libolae131conf.la libs/acn/libolae131core.la 



rdlibtool --tag=CXX --mode=link g++ -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -Werror -Wno-error=deprecated-declarations -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -g -O2 -std=gnu++11 -o plugins/e131/libolae131.la -rpath /usr/local/lib plugins/e131/libolae131_la-E131Device.lo plugins/e131/libolae131_la-E131Plugin.lo plugins/e131/libolae131_la-E131Port.lo olad/plugin_api/libolaserverplugininterface.la plugins/e131/messages/libolae131conf.la libs/acn/libolae131core.la

rdlibtool: lconf: {.name="libtool"}.
rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/tmp/ola-0.10.9"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 30, .st_ino = 965473}.
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/tmp/ola-0.10.9/libtool".
rdlibtool: link: ln -s libolae131.so.def plugins/e131/.libs/libolae131.so.def.linux
rdlibtool: link: ln -s libolae131.so.def.linux plugins/e131/.libs/libolae131.so.def.host
rdlibtool: link: ar -crs plugins/e131/.libs/libolae131.a plugins/e131/.libs/libolae131_la-E131Device.o plugins/e131/.libs/libolae131_la-E131Plugin.o plugins/e131/.libs/libolae131_la-E131Port.o
rdlibtool: link: ar -crs plugins/e131/.libs/libolae131.expsyms.a plugins/e131/.libs/libolae131_la-E131Device.o plugins/e131/.libs/libolae131_la-E131Plugin.o plugins/e131/.libs/libolae131_la-E131Port.o
rdlibtool: link: g++ plugins/e131/.libs/libolae131_la-E131Device.o plugins/e131/.libs/libolae131_la-E131Plugin.o plugins/e131/.libs/libolae131_la-E131Port.o -Wl,--whole-archive libs/acn/.libs/libolae131core.a -Wl,--no-whole-archive -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -Werror -Wno-error=deprecated-declarations -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -g -O2 -std=gnu++11 -Lolad/plugin_api/.libs -lolaserverplugininterface -Lolad/plugin_api/../../common/.libs -lolacommon -lresolv -lprotobuf -Lolad/plugin_api/../../ola/.libs -lola -lolacommon -lresolv -lprotobuf -Lplugins/e131/messages/.libs -lolae131conf -lprotobuf -luuid -Llibs/acn/../../common/.libs -lolacommon -lresolv -lprotobuf -shared -fPIC -Wl,-soname -Wl,libolae131.so.0 -o plugins/e131/.libs/libolae131.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o): in function `ola::SupportsUIDs()':
/tmp/ola-0.10.9/common/base/Credentials.cpp:59: multiple definition of `ola::SupportsUIDs()'; libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o):/tmp/ola-0.10.9/common/base/Credentials.cpp:59: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o): in function `ola::GetUID(unsigned int*)':
/tmp/ola-0.10.9/common/base/Credentials.cpp:66: multiple definition of `ola::GetUID(unsigned int*)'; libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o):/tmp/ola-0.10.9/common/base/Credentials.cpp:66: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o): in function `ola::GetEUID(unsigned int*)':
/tmp/ola-0.10.9/common/base/Credentials.cpp:81: multiple definition of `ola::GetEUID(unsigned int*)'; libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o):/tmp/ola-0.10.9/common/base/Credentials.cpp:81: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o): in function `ola::GetGID(unsigned int*)':
/tmp/ola-0.10.9/common/base/Credentials.cpp:96: multiple definition of `ola::GetGID(unsigned int*)'; libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o):/tmp/ola-0.10.9/common/base/Credentials.cpp:96: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o): in function `ola::GetEGID(unsigned int*)':
/tmp/ola-0.10.9/common/base/Credentials.cpp:111: multiple definition of `ola::GetEGID(unsigned int*)'; libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o):/tmp/ola-0.10.9/common/base/Credentials.cpp:111: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o): in function `ola::SetUID(unsigned int)':
/tmp/ola-0.10.9/common/base/Credentials.cpp:121: multiple definition of `ola::SetUID(unsigned int)'; libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o):/tmp/ola-0.10.9/common/base/Credentials.cpp:121: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o): in function `ola::SetGID(unsigned int)':
/tmp/ola-0.10.9/common/base/Credentials.cpp:135: multiple definition of `ola::SetGID(unsigned int)'; libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o):/tmp/ola-0.10.9/common/base/Credentials.cpp:135: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o): in function `ola::GetGroups(int, unsigned int*)':
/usr/include/bits/unistd.h:115: multiple definition of `ola::GetGroups(int, unsigned int*)'; libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o):/usr/include/bits/unistd.h:115: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o): in function `ola::SetGroups(unsigned long, unsigned int const*)':
/tmp/ola-0.10.9/common/base/Credentials.cpp:158: multiple definition of `ola::SetGroups(unsigned long, unsigned int const*)'; libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o):/tmp/ola-0.10.9/common/base/Credentials.cpp:158: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o): in function `ola::GetPasswdName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ola::PasswdEntry*)':
/tmp/ola-0.10.9/common/base/Credentials.cpp:243: multiple definition of `ola::GetPasswdName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ola::PasswdEntry*)'; libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o):/tmp/ola-0.10.9/common/base/Credentials.cpp:243: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o): in function `ola::GetPasswdUID(unsigned int, ola::PasswdEntry*)':
/tmp/ola-0.10.9/common/base/Credentials.cpp:258: multiple definition of `ola::GetPasswdUID(unsigned int, ola::PasswdEntry*)'; libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o):/tmp/ola-0.10.9/common/base/Credentials.cpp:258: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o): in function `ola::GetGroupName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ola::GroupEntry*)':
/tmp/ola-0.10.9/common/base/Credentials.cpp:336: multiple definition of `ola::GetGroupName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ola::GroupEntry*)'; libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o):/tmp/ola-0.10.9/common/base/Credentials.cpp:336: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o): in function `ola::GetGroupGID(unsigned int, ola::GroupEntry*)':
/tmp/ola-0.10.9/common/base/Credentials.cpp:351: multiple definition of `ola::GetGroupGID(unsigned int, ola::GroupEntry*)'; libs/acn/.libs/libolae131core.a(libolacommon_la-Credentials.o):/tmp/ola-0.10.9/common/base/Credentials.cpp:351: first defined here

Where GNU libtool builds like.

/bin/sh ./libtool  --tag=CXX   --mode=link g++ -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden  -Werror -Wno-error=deprecated-declarations -Wconversion -I/usr/include/uuid -g -O2 
-std=gnu++11    -o libs/acn/libolae131core.la  libs/acn/libolae131core_la-BaseInflator.lo libs/acn/libolae131core_la-DMPAddress.lo libs/acn/libolae131core_la-DMPE131Inflator.lo libs/acn/libolae131core_
la-DMPInflator.lo libs/acn/libolae131core_la-DMPPDU.lo libs/acn/libolae131core_la-E131DiscoveryInflator.lo libs/acn/libolae131core_la-E131Inflator.lo libs/acn/libolae131core_la-E131Node.lo libs/acn/lib
olae131core_la-E131PDU.lo libs/acn/libolae131core_la-E131Sender.lo libs/acn/libolae131core_la-E133Inflator.lo libs/acn/libolae131core_la-E133PDU.lo libs/acn/libolae131core_la-E133StatusInflator.lo libs
/acn/libolae131core_la-E133StatusPDU.lo libs/acn/libolae131core_la-PDU.lo libs/acn/libolae131core_la-PreamblePacker.lo libs/acn/libolae131core_la-RDMInflator.lo libs/acn/libolae131core_la-RDMPDU.lo lib
s/acn/libolae131core_la-RootInflator.lo libs/acn/libolae131core_la-RootPDU.lo libs/acn/libolae131core_la-RootSender.lo libs/acn/libolae131core_la-TCPTransport.lo libs/acn/libolae131core_la-UDPTransport
.lo -luuid common/libolacommon.la libs/acn/libolaacn.la 
libtool: link: (cd libs/acn/.libs/libolae131core.lax/libolaacn.a && ar x "/tmp/ola-0.10.9/libs/acn/.libs/libolaacn.a")
libtool: link: ar cr libs/acn/.libs/libolae131core.a libs/acn/.libs/libolae131core_la-BaseInflator.o libs/acn/.libs/libolae131core_la-DMPAddress.o libs/acn/.libs/libolae131core_la-DMPE131Inflator.o libs/acn/.libs/libolae131core_la-DMPInflator.o libs/acn/.libs/libolae131core_la-DMPPDU.o libs/acn/.libs/libolae131core_la-E131DiscoveryInflator.o libs/acn/.libs/libolae131core_la-E131Inflator.o libs/acn/.libs/libolae131core_la-E131Node.o libs/acn/.libs/libolae131core_la-E131PDU.o libs/acn/.libs/libolae131core_la-E131Sender.o libs/acn/.libs/libolae131core_la-E133Inflator.o libs/acn/.libs/libolae131core_la-E133PDU.o libs/acn/.libs/libolae131core_la-E133StatusInflator.o libs/acn/.libs/libolae131core_la-E133StatusPDU.o libs/acn/.libs/libolae131core_la-PDU.o libs/acn/.libs/libolae131core_la-PreamblePacker.o libs/acn/.libs/libolae131core_la-RDMInflator.o libs/acn/.libs/libolae131core_la-RDMPDU.o libs/acn/.libs/libolae131core_la-RootInflator.o libs/acn/.libs/libolae131core_la-RootPDU.o libs/acn/.libs/libolae131core_la-RootSender.o libs/acn/.libs/libolae131core_la-TCPTransport.o libs/acn/.libs/libolae131core_la-UDPTransport.o   libs/acn/.libs/libolae131core.lax/libolaacn.a/libolaacn_la-CID.o libs/acn/.libs/libolae131core.lax/libolaacn.a/libolaacn_la-CIDImpl.o 
libtool: link: ranlib libs/acn/.libs/libolae131core.a
libtool: link: rm -fr libs/acn/.libs/libolae131core.lax
libtool: link: ( cd "libs/acn/.libs" && rm -f "libolae131core.la" && ln -s "../libolae131core.la" "libolae131core.la" )
/bin/sh ./libtool  --tag=CXX   --mode=link g++ -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden  -Werror -Wno-error=deprecated-declarations -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -g -O2 -std=gnu++11    -o plugins/e131/libolae131.la -rpath /usr/local/lib plugins/e131/libolae131_la-E131Device.lo plugins/e131/libolae131_la-E131Plugin.lo plugins/e131/libolae131_la-E131Port.lo olad/plugin_api/libolaserverplugininterface.la plugins/e131/messages/libolae131conf.la libs/acn/libolae131core.la 
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13/crtbeginS.o  plugins/e131/.libs/libolae131_la-E131Device.o plugins/e131/.libs/libolae131_la-E131Plugin.o plugins/e131/.libs/libolae131_la-E131Port.o  -Wl,--whole-archive libs/acn/.libs/libolae131core.a -Wl,--no-whole-archive  -Wl,-rpath -Wl,/tmp/ola-0.10.9/olad/plugin_api/.libs -Wl,-rpath -Wl,/tmp/ola-0.10.9/ola/.libs -Wl,-rpath -Wl,/tmp/ola-0.10.9/plugins/e131/messages/.libs -Wl,-rpath -Wl,/tmp/ola-0.10.9/common/.libs -L/tmp/ola-0.10.9/ola/.libs -L/tmp/ola-0.10.9/common/.libs olad/plugin_api/.libs/libolaserverplugininterface.so /tmp/ola-0.10.9/ola/.libs/libola.so plugins/e131/messages/.libs/libolae131conf.so -luuid /tmp/ola-0.10.9/common/.libs/libolacommon.so -lresolv -lprotobuf -L/usr/lib/gcc/x86_64-pc-linux-gnu/13 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/crtn.o  -Werror -Werror -g -O2   -Wl,-soname -Wl,libolae131.so.0 -o plugins/e131/.libs/libolae131.so.0.0.0
libtool: link: (cd "plugins/e131/.libs" && rm -f "libolae131.so.0" && ln -s "libolae131.so.0.0.0" "libolae131.so.0")
libtool: link: (cd "plugins/e131/.libs" && rm -f "libolae131.so" && ln -s "libolae131.so.0.0.0" "libolae131.so")
libtool: link: (cd plugins/e131/.libs/libolae131.lax/libolae131core.a && ar x "/tmp/ola-0.10.9/libs/acn/.libs/libolae131core.a")
libtool: link: ar cr plugins/e131/.libs/libolae131.a  plugins/e131/libolae131_la-E131Device.o plugins/e131/libolae131_la-E131Plugin.o plugins/e131/libolae131_la-E131Port.o  plugins/e131/.libs/libolae131.lax/libolae131core.a/libolaacn_la-CID.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolaacn_la-CIDImpl.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-BaseInflator.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-DMPAddress.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-DMPE131Inflator.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-DMPInflator.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-DMPPDU.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-E131DiscoveryInflator.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-E131Inflator.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-E131Node.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-E131PDU.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-E131Sender.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-E133Inflator.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-E133PDU.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-E133StatusInflator.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-E133StatusPDU.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-PDU.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-PreamblePacker.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-RDMInflator.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-RDMPDU.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-RootInflator.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-RootPDU.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-RootSender.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-TCPTransport.o plugins/e131/.libs/libolae131.lax/libolae131core.a/libolae131core_la-UDPTransport.o 
libtool: link: ranlib plugins/e131/.libs/libolae131.a
libtool: link: rm -fr plugins/e131/.libs/libolae131.lax
libtool: link: ( cd "plugins/e131/.libs" && rm -f "libolae131.la" && ln -s "../libolae131.la" "libolae131.la" )
depbase=`echo plugins/espnet/EspNetDevice.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\

Testing reveals something interesting:

  • Running the failing rdlibtool command manually reproduces the issue.
  • Rereunning the command causes the failure to reproduce.
  • Copying libs/acn/.libs/libolae131core.a from the GNU libtool build allows rdlibtool to link successfully.
  • Manually running the rdlibtool command to create libs/acn/.libs/libolae131core.a causes the failure again.
  • Manually running the ar(1) command used by rdlibtool allows rdlibtool to link successfully again.
  • Copying the libs/acn/.libs/libolae131core.a from slibtool doesn't allow GNU libtool to reproduce the failure.

Am I doing something wrong? I'm not sure I understand what is going wrong.


Metadata Update from @orbea:
- Issue status updated to: Closed (was: Open)

9 months ago

Login to comment on this ticket.

Metadata