Actions
Bug #14069
closedinetboot: multiply-defined symbols
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Build errors on SPARC with gcc 10:
ld: fatal: symbol 'memlistpage' is multiply-defined: (file sun4x_standalloc.o type=OBJT; file /code/illumos-gate/proto/root_sparc/stand/lib/libsa.a(standalloc.o) type=OBJT); ld: fatal: file processing errors. No output written to inetboot ld: fatal: symbol 'rpc_createerr' is multiply-defined: (file /code/illumos-gate/proto/root_sparc/stand/lib/libnfs.a(clnt_budp.o) type=OBJT; file /code/illumos-gate/proto/root_sparc/stand/lib/libnfs.a(clnt_btcp.o) type=OBJT); ld: fatal: file processing errors. No output written to inetboot ld: fatal: symbol 'mfg_name' is multiply-defined: (file boot_plat.o type=OBJT; file bootprop.o type=OBJT); ld: fatal: symbol 'cache_state' is multiply-defined: (file boot_plat.o type=OBJT; file bootprop.o type=OBJT); ld: fatal: symbol 'module_path' is multiply-defined: (file readfile.o type=OBJT; file bootprop.o type=OBJT); ld: fatal: file processing errors. No output written to inetboot
Testing done: build/install/boot
network boot image itself is a bit broken, but inetboot part is ok:
{0} ok boot net Boot device: /virtual-devices@100/channel-devices@200/network@0 File and args: Requesting Internet Address for 0:14:4f:f9:f3:b6 ramdisk-root hsfs-file-system Loading: /platform/sun4v/kernel/sparcv9/unix WARNING: unrecognized token: pause WARNING: unrecognized token: cbcond WARNING: unrecognized token: aes WARNING: unrecognized token: des WARNING: unrecognized token: kasumi WARNING: unrecognized token: camellia WARNING: unrecognized token: md5 WARNING: unrecognized token: sha1 WARNING: unrecognized token: sha256 WARNING: unrecognized token: sha512 WARNING: unrecognized token: mpmul WARNING: unrecognized token: mont WARNING: unrecognized token: crc32c WARNING: cannot open system file: /etc/system SunOS Release 5.11 Version build2-0-g1eb5f5bc2c 64-bit Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved. panic[cpu0]/thread=180e000: read_binding_file: /etc/name_to_major file not found
Updated by Electric Monk 10 months ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit a2cd9e1884647e1e412c282879881873b71c84df
commit a2cd9e1884647e1e412c282879881873b71c84df Author: Toomas Soome <tsoome@me.com> Date: 2021-10-19T06:26:54.000Z 14069 inetboot: multiply-defined symbols Reviewed by: Klaus Ziegler <klausz@haus-gisela.de> Approved by: Robert Mustacchi <rm@fingolfin.org>
Actions