Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2019 11:49:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 239493] signal SIGABRT in .__sys_thr_kill () from /lib/libc.so.7 on r350103 ppc64
Message-ID:  <bug-239493-227-DnnZmn5xnE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239493-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-239493-227@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=3D239493

--- Comment #1 from Dennis Clarke <dclarke@blastwave.org> ---
Sorry, CC and CFLAGS :=20

hydra$=20
hydra$ echo $CC
/usr/local/bin/gcc8
hydra$=20
hydra$ echo $CFLAGS=20
-g -m64 -std=3Diso9899:1999 -fno-builtin -O0 -mcpu=3D970 -mcall-freebsd
-mno-altivec -mno-isel -mno-paired -mno-vsx -mno-crypto -mno-htm
-mno-quad-memory-atomic -mno-float128 -mno-float128-hardware -mfull-toc
-mdouble-float -mno-multiple -mupdate -mno-avoid-indexed-addresses
-ffp-contract=3Doff -mno-mulhw -mno-dlmzb -mno-bit-align -mno-strict-align
-mno-toc -mbig -mregnames -mno-recip -fno-unsafe-math-optimizations
-Wl,-rpath=3D/opt/bw/lib,--enable-new-dtags
hydra$=20

However the CFLAGS make little difference :=20

hydra$ $CC -m64 -o foo foo.c=20
hydra$ ./foo
Abort trap (core dumped)
hydra$ echo $?
134
hydra$ gdb foo foo.core
GNU gdb (GDB) 8.3 [GDB v8.3 for FreeBSD]
Copyright (C) 2019 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 "powerpc64-portbld-freebsd13.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 foo...
[New LWP 100125]
Core was generated by `./foo'.
Program terminated with signal SIGABRT, Aborted.
#0  0x000000081026b898 in .__sys_thr_kill () from /lib/libc.so.7
warning: File
"/opt/bw/build/gmp-6.1.2_FreeBSD_13.0-CURRENT_r350103_ppc64.001/.gdbinit"
auto-loading has been declined by your `auto-load safe-path' set to
"$debugdir:$datadir/auto-load".
To enable execution of this file add
        add-auto-load-safe-path
/opt/bw/build/gmp-6.1.2_FreeBSD_13.0-CURRENT_r350103_ppc64.001/.gdbinit
line to your configuration file "/home/dclarke/.gdbinit".
--Type <RET> for more, q to quit, c to continue without paging--
To completely disable this security protection add
        set auto-load safe-path /
line to your configuration file "/home/dclarke/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the she=
ll:
        info "(gdb)Auto-loading safe path"
(gdb) where
#0  0x000000081026b898 in .__sys_thr_kill () from /lib/libc.so.7
#1  0x000000081026af3c in .__raise () from /lib/libc.so.7
#2  0x00000008101cf41c in abort () from /lib/libc.so.7
#3  0x0000000010000cb4 in main ()
(gdb) quit
hydra$

--=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-239493-227-DnnZmn5xnE>