Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2017 08:31:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220754] clang38 core dump when compile busybox-1.26.2 on freebsd11.0
Message-ID:  <bug-220754-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 220754
           Summary: clang38 core dump when compile busybox-1.26.2 on
                    freebsd11.0
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: amutu@amutu.com

I am trying to update busybox to 1.26.2. While the
PR(https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219183) patch compil=
e ok
on 10.3R-amd64, but report build error when compile on 11.0R.=20

/tmp/ash-f6b622.c:
https://raw.githubusercontent.com/amutu/data/master/ash-f6b622.c
/tmp/ash-f6b622.sh:https://raw.githubusercontent.com/amutu/data/master/ash-=
f6b622.sh

  cc -Wp,-MD,shell/.ash.o.d   -std=3Dgnu99 -Iinclude -Ilibbb  -include
include/autoconf.h -D_GNU_SOURCE -DNDEBUG -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=3D64 -D"BB_VER=3DKBUILD_STR(1.26.=
2)"
-DBB_BT=3DAUTOCONF_TIMESTAMP -O2 -pipe  -fno-builtin-mempcpy -fstack-protec=
tor
-fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-protot=
ypes
-Wunused -Wunused-parameter -Wunused-function -Wunused-value
-Wmissing-prototypes -Wmissing-declarations -Wno-format-security
-Wdeclaration-after-statement -Wold-style-definition -fno-builtin-strlen
-finline-limit=3D0 -fomit-frame-pointer -ffunction-sections -fdata-sections=
=20
-funsigned-char -static-libgcc -falign-functions=3D1 -falign-jumps=3D1
-falign-labels=3D1 -falign-loops=3D1 -fno-unwind-tables
-fno-asynchronous-unwind-tables -fno-builtin-printf -Os=20=20=20=20
-D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(ash)"=20
-D"KBUILD_MODNAME=3DKBUILD_STR(ash)" -c -o shell/ash.o shell/ash.c
cc: warning: optimization flag '-finline-limit=3D0' is not supported
cc: warning: optimization flag '-falign-functions=3D1' is not supported
cc: warning: optimization flag '-falign-jumps=3D1' is not supported
cc: warning: optimization flag '-falign-labels=3D1' is not supported
cc: warning: optimization flag '-falign-loops=3D1' is not supported
cc: warning: argument unused during compilation: '-static-libgcc'
shell/ash.c:3968:51: warning: data argument not used by format string
[-Wformat-extra-args]
                col =3D fmtstr(s, 16, (st ? "Done(%d)" : "Done"), st);
                                                       ~~~~~~   ^
cc: error: unable to execute command: Segmentation fault (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM
3.8.0)
Target: x86_64-unknown-freebsd11.0
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preproces=
sed
source, and associated run script.
cc: warning: optimization flag '-finline-limit=3D0' is not supported
cc: warning: optimization flag '-falign-functions=3D1' is not supported
cc: warning: optimization flag '-falign-jumps=3D1' is not supported
cc: warning: optimization flag '-falign-labels=3D1' is not supported
cc: warning: optimization flag '-falign-loops=3D1' is not supported
cc: note: diagnostic msg:=20
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/ash-f6b622.c
cc: note: diagnostic msg: /tmp/ash-f6b622.sh
cc: note: diagnostic msg:=20

********************
gmake[3]: *** [scripts/Makefile.build:198: shell/ash.o] Error 254
gmake[2]: *** [Makefile:742: shell] Error 2

--=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-220754-8>