NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/57021: libc __trunctfdf2 conflicts with libgcc on aarch64



>Number:         57021
>Category:       lib
>Synopsis:       libc __trunctfdf2 conflicts with libgcc on aarch64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 24 08:40:00 +0000 2022
>Originator:     nia
>Release:        NetBSD 9.0
>Organization:
The NetBSD Foundation
>Environment:
>Description:
arch/aarch64/softfloat/qp.c contains a definition of __trunctfdf2.

However, this function is also defined in libgcc, which creates
problems when static linking:

ld: /usr/lib/libc.a(qp.o): in function `__trunctfdf2':
qp.c:(.text+0x110): multiple definition of `__trunctfdf2';
/usr/lib/libgcc.a(trunctfdf2.o):trunctfdf2.c:(.text+0x0): first defined here
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index