Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2018 09:56:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 231479] lang/julia: build stuck while running libwhich -p libopenblasp.so using synth
Message-ID:  <bug-231479-7788-GUy5oP4sqP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231479-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231479-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231479

--- Comment #7 from Trond.Endrestol@ximalas.info ---
I did some more investigations using gdb. Apparently, libwhich halts when
reading the libopenblasp.so library installed in the chroot env. Running the
same command on, say, /lib/libc.so.7 gives the desired result.

trond@freebsd-head-zfs:~>gdb
/var/synth/builders/synth-live/SL02_work/xports/lang/julia/work/julia/usr/t=
ools/libwhich
GNU gdb (GDB) 8.1.1 [GDB v8.1.1 for FreeBSD]
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm=
l>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd12.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from
/var/synth/builders/synth-live/SL02_work/xports/lang/julia/work/julia/usr/t=
ools/libwhich...(no
debugging symbols found)...done.
(gdb) set args -p
/var/synth/builders/synth-live/SL02_localbase/lib/libopenblasp.so
(gdb) b main
Breakpoint 1 at 0x400c14
(gdb) r
Starting program:
/var/synth/builders/synth-live/SL02_work/xports/lang/julia/work/julia/usr/t=
ools/libwhich
-p /var/synth/builders/synth-live/SL02_localbase/lib/libopenblasp.so

Breakpoint 1, 0x0000000000400c14 in main ()
(gdb) s
Single stepping until exit from function main,
which has no line number information.
0x0000000000400b60 in get_names ()
(gdb)=20
Single stepping until exit from function get_names,
which has no line number information.
0x0000000000400c55 in main ()
(gdb) list
No symbol table is loaded.  Use the "file" command.
(gdb) n
Single stepping until exit from function main,
which has no line number information.
[New LWP 100898 of process 30266]
[New LWP 100899 of process 30266]
[New LWP 100900 of process 30266]

Nothing happens at all at this point, and you can't even Ctrl+C your way ou=
t of
the debugger.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231479-7788-GUy5oP4sqP>