Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Oct 2016 07:45:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 213434] vfwscanf compilation fails
Message-ID:  <bug-213434-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 213434
           Summary: vfwscanf compilation fails
           Product: Base System
           Version: 11.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: mario.g.pavlov@gmail.com
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@FreeBSD.org

Created attachment 175688
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D175688&action=
=3Dedit
Preprocessed source and associated run script.

I installed FreeBSD 11 RELEASE amd64 on my skylake machine, checked out
stable/11 and tried to buildworld.


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
# cat /etc/make.conf
CPUTYPE?=3Dskylake

# for both C and C++
CFLAGS=3D -O2 -pipe

# kernel building flags
COPTFLAGS=3D -O -pipe

KERNCONF=3DSTABLE11
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
# svnlite info
Path: .
Working Copy Root Path: /usr/src
URL: https://svn.freebsd.org/base/stable/11
Relative URL: ^/stable/11
Repository Root: https://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 307180
Node Kind: directory
Schedule: normal
Last Changed Author: lidl
Last Changed Rev: 307173
Last Changed Date: 2016-10-13 06:10:04 +0300 (Thu, 13 Oct 2016)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


And I got this:


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
cc   -O2 -pipe -march=3Dskylake  -I/usr/src/lib/libc/include
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS=20
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa
-I/usr/src/lib/libc/../../contrib/libc-vis -DINET6 -I/usr/obj/usr/src/lib/l=
ibc
-I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE
-I/usr/src/lib/libc/../libmd -I/usr/src/lib/libc/../../contrib/jemalloc/inc=
lude
-I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime
-I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
-I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -MD=20
-MF.depend.vfwscanf.o -MTvfwscanf.o -std=3Dgnu99 -fstack-protector-strong
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
-Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-unused-local-typedef -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter  -Qunused-arguments  -I/usr/src/lib/libutil
-I/usr/src/lib/msun/amd64 -I/usr/src/lib/msun/x86 -I/usr/src/lib/msun/src -c
/usr/src/lib/libc/stdio/vfwscanf.c -o vfwscanf.o
fatal error: error in backend: Cannot select: 0x80343ce40: i32 =3D X86ISD::=
CMP
0x8031d4ab0, 0x80343e130
  0x8031d4ab0: i1 =3D truncate 0x8031d45f0
    0x8031d45f0: i8 =3D and 0x80305f4c0, 0x80343eab0
      0x80305f4c0: i8 =3D X86ISD::SETCC Constant:i8<4>, 0x8033da850
        0x8031d4be0: i8 =3D Constant<4>
        0x8033da850: i32 =3D X86ISD::CMP 0x8033d95f0, Constant:i8<0>
          0x8033d95f0: i8 =3D AssertZext 0x8031d4720, ValueType:ch:i1
            0x8031d4720: i8,ch =3D CopyFromReg 0x802e3f430, Register:i8 %vr=
eg375
              0x80343e850: i8 =3D Register %vreg375
          0x8033da4c0: i8 =3D Constant<0>
      0x80343eab0: i8 =3D X86ISD::SETCC Constant:i8<4>, 0x80343ed10:1
        0x8031d4be0: i8 =3D Constant<4>
        0x80343ed10: i32,i32 =3D X86ISD::SUB 0x80305f980, Constant:i32<101>
          0x80305f980: i32,ch =3D CopyFromReg 0x802e3f430, Register:i32 %vr=
eg378
            0x80305f5f0: i32 =3D Register %vreg378
          0x8033d9e40: i32 =3D Constant<101>
  0x80343e130: i1 =3D truncate 0x80343c130
    0x80343c130: i8 =3D or 0x80305f4c0, 0x8033beab0
      0x80305f4c0: i8 =3D X86ISD::SETCC Constant:i8<4>, 0x8033da850
        0x8031d4be0: i8 =3D Constant<4>
        0x8033da850: i32 =3D X86ISD::CMP 0x8033d95f0, Constant:i8<0>
          0x8033d95f0: i8 =3D AssertZext 0x8031d4720, ValueType:ch:i1
            0x8031d4720: i8,ch =3D CopyFromReg 0x802e3f430, Register:i8 %vr=
eg375
              0x80343e850: i8 =3D Register %vreg375
          0x8033da4c0: i8 =3D Constant<0>
      0x8033beab0: i8 =3D X86ISD::SETCC Constant:i8<9>, 0x80343c720:1
        0x80343e260: i8 =3D Constant<9>
        0x80343c720: i32,i32 =3D X86ISD::SUB 0x80305f980, Constant:i32<112>
          0x80305f980: i32,ch =3D CopyFromReg 0x802e3f430, Register:i32 %vr=
eg378
            0x80305f5f0: i32 =3D Register %vreg378
          0x8033be5f0: i32 =3D Constant<112>
In function: __vfwscanf
cc: error: clang frontend command failed with exit code 70 (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/obj/usr/src/tmp/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: note: diagnostic msg:
********************

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/vfwscanf-f37857.c
cc: note: diagnostic msg: /tmp/vfwscanf-f37857.sh
cc: note: diagnostic msg:

********************
*** Error code 70

Stop.
make[4]: stopped in /usr/src/lib/libc
*** Error code 1

Stop.
make[3]: stopped in /usr/src
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Please find attached the preprocessed source file and associated run script.

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