Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573358 - sys-freebsd/freebsd-libexec: compile using gcc-5.3.0, all of the commands does not operate.
Summary: sys-freebsd/freebsd-libexec: compile using gcc-5.3.0, all of the commands doe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-30 07:35 UTC by Yuta SATOH
Modified: 2017-06-22 10:31 UTC (History)
0 users

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


Attachments
patch for freebsd-libexec-10.2.ebuild (bug573358.patch,812 bytes, patch)
2016-01-30 07:41 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.