Linker warnings on Ubuntu 19.10 with gcc 9.2.1/ld.bfd 2.33

3 views
Skip to first unread message

Waldek Kozaczuk

unread,
Nov 27, 2019, 1:50:08 PM11/27/19
to OSv Development
When running standard build GCC reports following warnings:

....
  LINK loader.elf
{standard input}: Assembler messages:
{standard input}:4106: Warning: symbol '_ZNSt7codecvtIwc11__mbsta' already has its type set
{standard input}:4568: Warning: symbol '_ZN6virtio13virtio_driver' already has its type set
{standard input}:6210: Warning: symbol '_ZN6virtio13virtio_driver' already has its type set
{standard input}:11940: Warning: symbol '_ZN9pagecache14access_sca' already has its type set
{standard input}:13908: Warning: symbol '_ZN9pagecache14access_sca' already has its type set
{standard input}:16082: Warning: symbol '_ZNSt7codecvtIDic11__mbst' already has its type set
{standard input}:19054: Warning: symbol '_ZNSt7codecvtIwc11__mbsta' already has its type set
{standard input}:20566: Warning: symbol '_ZNSt6chrono3_V212system_' already has its type set
{standard input}:20922: Warning: symbol '_ZNSt7codecvtIDsc11__mbst' already has its type set
{standard input}:21234: Warning: symbol '_ZNSt7codecvtIDiDu11__mbs' already has its type set
{standard input}:21332: Warning: symbol '_ZN9__gnu_cxx17__pool_all' already has its type set
{standard input}:23440: Warning: symbol '_ZNSt6chrono3_V212steady_' already has its type set
{standard input}:23824: Warning: symbol '_ZNSt17__timepunct_cacheI' already has its type set
{standard input}:24154: Warning: symbol '_ZN9pagecache14access_sca' already has its type set
{standard input}:24738: Warning: symbol '_ZNSt7codecvtIDsDu11__mbs' already has its type set
{standard input}:27664: Warning: symbol '_ZNSt7codecvtIcc11__mbsta' already has its type set
{standard input}:28042: Warning: symbol '_ZNSt6chrono12system_cloc' already has its type set
{standard input}:28362: Warning: symbol '_ZN9pagecache14access_sca' already has its type set
{standard input}:29142: Warning: symbol '_ZN3osv3rcu26cpu_quiescen' already has its type set
{standard input}:31744: Warning: symbol '_ZN9__gnu_cxx17__pool_all' already has its type set
{standard input}:32960: Warning: symbol '_ZN9__gnu_cxx17__pool_all' already has its type set
  LIBOSV.SO
....


ld.bfd --version
GNU ld (GNU Binutils for Ubuntu) 2.33
Copyright (C) 2019 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

gcc --version
gcc (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

What could be the cause of it?

Waldek
Reply all
Reply to author
Forward
0 new messages