Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 633836 - dev-ml/cudf-0.8-r1 libunwind: error: undefined reference
Summary: dev-ml/cudf-0.8-r1 libunwind: error: undefined reference
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-09 12:31 UTC by Flo Gravo
Modified: 2020-10-17 11:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_633836.txt,12.60 KB, text/plain)
2017-10-09 12:31 UTC, Flo Gravo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Flo Gravo 2017-10-09 12:31:51 UTC
Created attachment 498208 [details]
emerge --info

make -j5 c-lib-opt 
make -C c-lib opt
make[1]: Entering directory '/var/tmp/portage/dev-ml/cudf-0.8-r1/work/cudf-0.8/c-lib'
ocamlfind ocamlopt -package unix,extlib -linkpkg -output-obj -o cudf-caml-opt.o ../_build/cudf.cmxa ../_build/cudf_c.cmx
cp /usr/lib64/ocaml/libasmrun.a libcudf-opt.a
ar r libcudf-opt.a cudf-caml-opt.o cudf.o
x86_64-pc-linux-gnu-gcc -Wall -o c-test-opt -I . -I /usr/lib64/ocaml -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -L/usr/lib64/ocaml -L/var/tmp/portage/dev-ml/cudf-0.8-r1/work/cudf-0.8/c-lib c-test.o \
	-lcudf-opt -lm -ldl -lunix -lncurses -lglib-2.0 -lglib-2.0
/var/tmp/portage/dev-ml/cudf-0.8-r1/work/cudf-0.8/c-lib/libcudf-opt.a(spacetime.o):function find_trie_node_from_libunwind: error: undefined reference to '_Ux86_64_getcontext'
/var/tmp/portage/dev-ml/cudf-0.8-r1/work/cudf-0.8/c-lib/libcudf-opt.a(spacetime.o):function find_trie_node_from_libunwind: error: undefined reference to '_ULx86_64_init_local'
/var/tmp/portage/dev-ml/cudf-0.8-r1/work/cudf-0.8/c-lib/libcudf-opt.a(spacetime.o):function find_trie_node_from_libunwind: error: undefined reference to '_ULx86_64_step'
/var/tmp/portage/dev-ml/cudf-0.8-r1/work/cudf-0.8/c-lib/libcudf-opt.a(spacetime.o):function find_trie_node_from_libunwind: error: undefined reference to '_ULx86_64_get_reg'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:41: c-test-opt] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-ml/cudf-0.8-r1/work/cudf-0.8/c-lib'
make: *** [Makefile:44: c-lib-opt] Error 2
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-10-09 13:30:23 UTC
Please also attach the full build log.
Comment 2 Larry the Git Cow gentoo-dev 2020-10-17 11:45:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9511a558e48c0f6a7a74a8d7c161eda1948dd3f

commit a9511a558e48c0f6a7a74a8d7c161eda1948dd3f
Author:     Mark Wright <gienah@gentoo.org>
AuthorDate: 2020-10-17 11:44:37 +0000
Commit:     Mark Wright <gienah@gentoo.org>
CommitDate: 2020-10-17 11:44:37 +0000

    dev-ml/cudf: Fix 633836 749243
    
    cudf needs to be linked with libunwind when compiled with dev-lang/ocaml
    where dev-lang/ocaml is compiled with the spacetime USE flag.  Thanks
    to Flo Gravo and toralf for reporting.
    
    Closes: https://bugs.gentoo.org/633836
    Closes: https://bugs.gentoo.org/749243
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Mark Wright <gienah@gentoo.org>

 dev-ml/cudf/cudf-0.8-r1.ebuild | 6 +++---
 dev-ml/cudf/cudf-0.9.ebuild    | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)