delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/14/03:19:35

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D78D43844040
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1610612327;
bh=bxBX3piNEgVjIianN5osHvDSQQhezp4XbVupjpnXiPE=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=xS3/iX1CNyETwSR/1iLq2ll1ssZbE8UlnMRvWQh/6JQAVtNuHVtq3S+in6ruyU4pI
qL3ilGmcvGkC8IFSYGY64grH0QQKIP8Svt37TJQ9fSt3E4vYQbDaS6ZqFb0+ns2DGr
BmhmPYgy0F6oqEPNxpvhw4kBh4fOWeVUd1+NgGB0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C791A385800E
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=v9gyyJgVdL0KFuLjD8QXQhoMrCdPd9KX7s8Fd0+2CTQ=;
b=C4BlT7W6lxF0s2Q3z3o75bPu7K88V8ZQm+k1fi0T4us/wcIoaxEaPRZUOrmQ7AyIy8
mAseqUHP8/vHLgUamSz2D1tkfxYN+SqQhNLirR9tYcF5JlQpbhuxWOO6jAGPMmf9zyj0
0sUi/FcJiMcnPHoK+QcYS/sXvNKed/+uJQVWvdxtFq956rhlZ0UHAG57yYxFAPliHyiL
NFqXUTIHEq7rD6Ghvhgp0AQiLJyBrJ7t3BM+w4w6ZG2kJQ2l+XAN4dO5kFRb0fdei5PA
T9ODvTl/OP6izxdUL69LSLy7qtVrQod8fPHMUp76oh3QfDzUpOv2rtPtpGK6YzftYUwl
sUVw==
X-Gm-Message-State: AOAM532AN/6HoDkoe6HYt0e3eKbdJpuluz7NExJGSePmZ8KxYack62cQ
5Dk1sOUXw5LgNFEmb5OwdFzMTfbBLl0HKor4FfQ=
X-Google-Smtp-Source: ABdhPJwFCrsF1wsWxVlugRxHntQAllFGzmBhmfjAFj1sQ0IPU9Zxx02j7n4rT4Fm82NjP059p1PgBQtehJjJcsKIa6I=
X-Received: by 2002:a05:600c:25c2:: with SMTP id
2mr2822672wml.170.1610612320886;
Thu, 14 Jan 2021 00:18:40 -0800 (PST)
MIME-Version: 1.0
References: <trinity-34d462bc-fd59-487f-9b02-5aa2f844ca61-1610608110734 AT 3c-app-webde-bap41>
In-Reply-To: <trinity-34d462bc-fd59-487f-9b02-5aa2f844ca61-1610608110734@3c-app-webde-bap41>
Date: Thu, 14 Jan 2021 09:18:30 +0100
Message-ID: <CAEhDDbCqWRsLQ3vXTG_YX1SZ1imH1He7bYF-sXEaMsaLTi9cog@mail.gmail.com>
Subject: Re: Recompilation problems opencv (python3-cv2 --> python3.8)
To: wilhelm-eger AT web DOT de
X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Csaba Raduly via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Csaba Raduly <rcsaba AT gmail DOT com>
Cc: cygwin list <cygwin AT cygwin DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Hi Wilhelm,

On Thu, 14 Jan 2021 at 08:10, wilhelm-eger--- via Cygwin
<cygwin AT cygwin DOT com> wrote:
(snip)
> 3rdparty/lib/libittnotify.a(ittnotify_static.c.o): in function `__itt_fini_ittlib':
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1076:(.text$__itt_fini_ittlib+0x104): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlsym'
> 3rdparty/lib/libittnotify.a(ittnotify_static.c.o): in function `__itt_init_ittlib':
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1123:(.text$__itt_init_ittlib+0x14b): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlopen'
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1123:(.text$__itt_init_ittlib+0x155): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlsym'
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1123:(.text$__itt_init_ittlib+0x168): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlclose'
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1125:(.text$__itt_init_ittlib+0x2a6): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlopen'
> 3rdparty/lib/libittnotify.a(ittnotify_static.c.o): in function `__itt_lib_version':
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1030:(.text$__itt_init_ittlib+0x2c8): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlsym'
> 3rdparty/lib/libittnotify.a(ittnotify_static.c.o): in function `__itt_init_ittlib':
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1179:(.text$__itt_init_ittlib+0x2e4): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlsym'
> 3rdparty/lib/libittnotify.a(ittnotify_static.c.o): in function `__itt_lib_version':
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1032:(.text$__itt_init_ittlib+0x3c6): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlsym'
> 3rdparty/lib/libittnotify.a(ittnotify_static.c.o): in function `__itt_init_ittlib':
> /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1141:(.text$__itt_init_ittlib+0x41c): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dlsym'

You need to compile with -fPIC.
Did you try searching the Internet for "relocation truncated to fit:
R_X86_64_PC32 against undefined symbol" ?

Csaba
-- 
You can get very substantial performance improvements
by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
So if you're looking for a completely portable, 100% standards-conformant way
to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK)
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019