Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 573358

Summary: sys-freebsd/freebsd-libexec: compile using gcc-5.3.0, all of the commands does not operate.
Product: Gentoo/Alt Reporter: Yuta SATOH <nigoro.dev>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for freebsd-libexec-10.2.ebuild

Description Yuta SATOH 2016-01-30 07:35:17 UTC
On amd64-fbsd,
When you try to ebuild freebsd-libexec-10.2.ebuild merge, bash will CPU 100%.
Merging does not proceed.

If any command tries to run will CPU 100%.
e.g.)
# chroot /amd64-fbsd/10.2 ls

A result of the top command.
<snip>
  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
 6075 root          1 103    0  1052K   856K CPU2    2   7:06 100.00% bash
 6079 root          1 103    0   328K   236K CPU5    5   1:46 100.00% ls
<snip>


On x86-fbsd, 100% CPU does not occur.
Instead, all of the command returns Segmentation fault (core dumped).

# bash
Segmentation fault (core dumped)
# ls
Segmentation fault (core dumped)
Comment 1 Yuta SATOH 2016-01-30 07:41:49 UTC
Created attachment 424206 [details, diff]
patch for freebsd-libexec-10.2.ebuild

Set CFLAGS= -O0, -O1 or -Os, all commands to work properly.
Until someone finds the correct fix, apply this patch...
Comment 2 Yuta SATOH 2017-06-22 10:31:13 UTC
This issue has already been fixed in the tree.
Closing.