NetBSD-Bugs archive

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

toolchain/51099: Trying to call undefined weak symbol `__deregiter_frame_info'

>Number:         51099
>Category:       toolchain
>Synopsis:       Trying to call undefined weak symbol `__deregiter_frame_info'
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 28 08:45:00 +0000 2016
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.28
The NetBSD Foundation, Inc.
System: NetBSD 7.99.28 NetBSD 7.99.28 (WHOEVER) #1: Sun Apr 24 10:08:05 CEST 2016 sparc64
Architecture: sparc64
Machine: sparc64

Trying to buid some pkgs (for example multimedia/gstreame-0.10) on sparc64
(using gcc 4.8.5 and binutils 2.26) fails with:

Trying to call undefined weak symbol `__deregiter_frame_info'

when linking like this:

<.> /usr/pkgobj/multimedia/gstreamer0.10/work/.gcc/bin/gcc -std=gnu99 -I../../libs -I../.. -I/usr/pkgobj/multimedia/gstreamer0.10/work/.buildlink/include/glib/glib-2.0 -I/usr/pkgobj/multimedia/gstreamer0.10/work/.buildlink/lib/glib-2.0/include -I/usr/pkgobj/multimedia/gstreamer0.10/work/.buildlink/include -pthread -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -I/usr/pkgobj/multimedia/gstreamer0.10/work/.buildlink/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs -g -O2 -pipe -Wl,-R/usr/pkg/lib -o .libs/gstbufferstress gstbufferstress.o -pthread -L/usr/pkgobj/multimedia/gstreamer0.10/work/.buildlink/lib -L../../gst/.libs -pthread -Wl,-rpath,/usr/pkg/lib  -lgstreamer-0.10 -lxml2 -lz -llzma -lm -lgobject-2
 .0 -lffi -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lpcre -lintl -lc

The symbols all look fine:

> nm /usr/lib/ |fgrep dereg
                 w __deregister_frame_info
> nm /usr/lib/|fgrep dereg
0000000000004880 T __deregister_frame
0000000000004860 T __deregister_frame_info
0000000000004700 T __deregister_frame_info_bases

The package builds fine on netbsd-7 (which uses old binutils).



Home | Main Index | Thread Index | Old Index