pkgsrc-Bugs archive

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

pkg/55107: Only earmv6hf/earmv7hf,libffi.so.7.1.0 contains __aeabi_unwind_cpp_pr0



>Number:         55107
>Category:       pkg
>Synopsis:       Only earmv6hf/earmv7hf,libffi.so.7.1.0 contains __aeabi_unwind_cpp_pr0
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 25 20:20:00 +0000 2020
>Originator:     Jun Ebihara
>Release:        9.99.49,pkgsrc 2020-03-26
>Organization:
SOUM Corporation
>Environment:
NetBSD rpi 9.99.49 NetBSD 9.99.49 (RPI2) #0: Sat Mar 14 09:01:11 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/RPI2 evbarm

>Description:
On pkgsrc/devel/libffi

Only earmv6hf/earmv7hf,libffi.so.7.1.0 contains __aeabi_unwind_cpp_pr0.

earmv6hf:9.99.49/gcc 8.4.0
00002a18 r __GNU_EH_FRAME_HDR
000130e0 d __JCR_END__
000130e0 d __JCR_LIST__
         U __aeabi_unwind_cpp_pr0
         U __clear_cache@@GCC_3.0
         w __cxa_finalize
         w __deregister_frame_info
000028f0 t __do_global_ctors_aux

earmv7hf:9.99.48/gcc 8.3.0
00002a20 r __GNU_EH_FRAME_HDR
000130e8 d __JCR_END__
000130e8 d __JCR_LIST__
         U __aeabi_unwind_cpp_pr0
         U __clear_cache@@GCC_3.0
         w __cxa_finalize
         w __deregister_frame_info
000028f8 t __do_global_ctors_aux

aarch64:9.99.50 gcc 8.4.0 OK
0000000000003000 r __GNU_EH_FRAME_HDR
0000000000013788 d __JCR_END__
0000000000013788 d __JCR_LIST__
0000000000013b50 b __bss_end__
0000000000013af8 b __bss_start__
                 U __clear_cache@@GCC_3.0
                 w __cxa_finalize
                 w __deregister_frame_info@@GCC_3.0
0000000000013ac0 d __dso_handle
0000000000013b50 b __end__

It brokes pkgsrc/devel/glib2 failed with undefened reference.
ld: /usr/pkg/lib/libffi.so.7: undefined reference to `__aeabi_unwind_cpp_pr0'

>How-To-Repeat:
1. cd /usr/pkgsrc/devel/glib2
2. make
gcc  -o tests/refcount/properties4 'tests/refcount/037f711@@properties4@exe/properties4.c.o' -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/python3.7 -L/usr/lib -L/usr/pkg/lib -Wl,--as-needed -Wl,--no-undefined -O2 -D_FORTIFY_SOURCE=2 -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -Wl,--start-group glib/libglib-2.0.so.0.6400.1 gobject/libgobject-2.0.so.0.6400.1 -lm -pthread -lintl -Wl,--end-group '-Wl,-rpath,$ORIGIN/../../glib:$ORIGIN/../../gobject' -Wl,-rpath-link,/mnt/earmv6hf/pkgsrc/devel/glib2/work.earmv6hf/glib-2.64.1/output/glib -Wl,-rpath-link,/mnt/earmv6hf/pkgsrc/devel/glib2/work.earmv6hf/glib-2.64.1/output/gobject
ld: /usr/pkg/lib/libffi.so.7: undefined reference to `__aeabi_unwind_cpp_pr0'
ninja: build stopped: subcommand failed.

>Fix:



Home | Main Index | Thread Index | Old Index