Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 647292

Summary: app-emulation/open-vm-tools-10.1.15 : /.../ld: ../.../libMisc.a(util_misc.o): relocation R_X86_64_TPOFF32 against tid.8413 can not be used when making a shared object; recompile with -fPIC
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Mike Gilbert <floppym>
Status: RESOLVED OBSOLETE    
Severity: normal CC: Manfred.Knick, vmware+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-emulation:open-vm-tools-10.1.15:20180211-123848.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-02-11 13:15:28 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/libvmtools_la-i18n.o .libs/libvmtools_la-monotonicTimer.o .libs/libvmtools_la-signalSource.o .libs/libvmtools_la-vmtools.o .libs/libvmtools_la-vmtoolsConfig.o .libs/libvmtools_la-vmtoolsLog.o .libs/libvmtools_la-vmxLogger.o .libs/libvmtools_la-guestSDKLog.o .libs/libvmtools_la-stub-log.o  -Wl,--whole-archive ../lib/lock/.libs/libLock.a ../lib/backdoor/.libs/libBackdoor.a ../lib/asyncsocket/.libs/libAsyncSocket.a ../lib/sslDirect/.libs/libSslDirect.a ../lib/pollGtk/.libs/libPollGtk.a ../lib/poll/.libs/libPoll.a ../lib/dataMap/.libs/libDataMap.a ../lib/hashMap/.libs/libHashMap.a ../lib/dict/.libs/libDict.a ../lib/dynxdr/.libs/libDynxdr.a ../lib/err/.libs/libErr.a ../lib/file/.libs/libFile.a ../lib/glibUtils/.libs/libGlibUtils.a ../lib/guestApp/.libs/libGuestApp.a ../lib/guestRpc/.libs/libGuestRpc.a ../lib/message/.libs/libMessage.a ../lib/netUtil/.libs/libNetUtil.a ../lib/nicInfo/.libs/libNicInfo.a ../lib/panic/.libs/libPanic.a ../lib/procMgr/.libs/libProcMgr.a ../lib/rpcChannel/.libs/libRpcChannel.a ../lib/rpcIn/.libs/libRpcIn.a ../lib/rpcOut/.libs/libRpcOut.a ../lib/rpcVmx/.libs/libRpcVmx.a ../lib/string/.libs/libString.a ../lib/syncDriver/.libs/libSyncDriver.a ../lib/system/.libs/libSystem.a ../lib/stubs/.libs/libStubsCS.a ../lib/unicode/.libs/libUnicode.a ../lib/user/.libs/libUser.a ../lib/vmCheck/.libs/libVmCheck.a ../lib/vmSignal/.libs/libVmSignal.a ../lib/wiper/.libs/libWiper.a ../lib/misc/.libs/libMisc.a ../lib/slashProc/.libs/libSlashProc.a -Wl,--no-whole-archive  -Wl,--as-needed -ldnet -ltirpc -ldl -lrt -lcrypt -lpthread -lglib-2.0  -O2 -march=native -Wl,-z -Wl,defs -Wl,-lc -Wl,-O1   -Wl,-soname -Wl,libvmtools.so.0 -o .libs/libvmtools.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/misc/.libs/libMisc.a(util_misc.o): relocation R_X86_64_TPOFF32 against `tid.8413' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/misc/.libs/libMisc.a(vthreadBase.o): relocation R_X86_64_TPOFF32 against `tlsBaseCache' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/hashMap/.libs/libHashMap.a(hashMap.o): warning: relocation against `HashMap_DestroyMap' in readonly section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libvmtools_la-vmtools.o: relocation R_X86_64_PC32 against symbol `atomicFenceInitialized' can not be used when making a shared object; recompile with -fPIC

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_20180207-191057

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-emulation/open-vm-tools
[ebuild  N    ] app-emulation/open-vm-tools-10.1.10  USE="pam -X -doc -grabbitmqproxy -icu -modules -pic -vgauth -xinerama"
Comment 1 Toralf Förster gentoo-dev 2018-02-11 13:15:30 UTC
Created attachment 519026 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-02-11 13:15:34 UTC
Created attachment 519028 [details]
app-emulation:open-vm-tools-10.1.15:20180211-123848.log
Comment 3 Toralf Förster gentoo-dev 2018-02-11 13:15:37 UTC
Created attachment 519030 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-02-11 13:15:40 UTC
Created attachment 519032 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-02-11 13:15:43 UTC
Created attachment 519034 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-02-11 13:15:45 UTC
Created attachment 519036 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-02-11 13:15:49 UTC
Created attachment 519038 [details]
temp.tbz2
Comment 8 Manfred Knick 2019-02-15 21:14:37 UTC
@ Toralf:

Is this bug still valid with current app-emulation/open-vm-tools-10.3.5:0 ?

# equery list -p  open-vm-tools

[-P-] [ ~] app-emulation/open-vm-tools-10.1.10:0
[-P-] [ ~] app-emulation/open-vm-tools-10.1.15:0
[-P-] [ ~] app-emulation/open-vm-tools-10.2.5:0
[-P-] [ ~] app-emulation/open-vm-tools-10.3.5:0


@ Mike:

Why are unsecure EOL versions kept in Main Portage Tree,
which have already been pruned from upstream, AFAICS?

[  https://github.com/vmware/open-vm-tools ]
Comment 9 Mike Gilbert gentoo-dev 2019-02-15 21:19:05 UTC
(In reply to Manfred Knick from comment #8)

I like to keep a few versions around in case newer versions introduce regressions.
Comment 10 Manfred Knick 2019-02-15 21:39:37 UTC
(In reply to Mike Gilbert from comment #9)
> (In reply to Manfred Knick from comment #8)
> 
> I like to keep a few versions around in case newer versions introduce
> regressions.

I know your personal habit ;-)

Humble porposal:
Please, at least hard-mask those old EOL versions - 
they *are* severe security risks!


Hint:

Very unfortunately,

. . . [vmware-overlay]

had to be been closed down
and was removed from overlays/repositories.xml:

. . . Bug 627666 - vmware: no reply to project status mail

. . . [ https://bugs.gentoo.org/627666#c8 ] ff.

Currently up-to-date and perfectly working versions of vmware-workstation:
c.f.
  - Bug 663670     and
  - Bug 671218

HINT concerning vmware-player:
  - just install above;
  - vmware-player will be included :-)
Comment 11 Mike Gilbert gentoo-dev 2019-02-15 21:50:19 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98eb5bccd994c2fc299702efb0e61bc3fc145362

commit 98eb5bccd994c2fc299702efb0e61bc3fc145362
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Fri Feb 15 16:21:05 2019 -0500

    app-emulation/open-vm-tools: remove old

    Package-Manager: Portage-2.3.59_p2, Repoman-2.3.12_p67
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 app-emulation/open-vm-tools/Manifest               |   3 -
 app-emulation/open-vm-tools/metadata.xml           |   4 -
 .../open-vm-tools/open-vm-tools-10.1.10.ebuild     | 152 -------------------
 .../open-vm-tools/open-vm-tools-10.1.15.ebuild     | 156 --------------------
 .../open-vm-tools/open-vm-tools-10.2.5.ebuild      | 163 ---------------------
 5 files changed, 478 deletions(-)