[Bug 211864] Compiler is using AVX instructions for CPUTYPE=btver1
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211864 Kubilay Kocak <ko...@freebsd.org> changed: What|Removed |Added Keywords||needs-qa CC|freebsd-amd64@FreeBSD.org |r...@freebsd.org Summary|[Regression] Compiler is|Compiler is using AVX |using AVX instructions for |instructions for |CPUTYPE=btver1 |CPUTYPE=btver1 Status|New |Open Flags||mfc-stable11? -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-amd64@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to "freebsd-amd64-unsubscr...@freebsd.org"
[Bug 211864] [Regression] Compiler is using AVX instructions for CPUTYPE=btver1
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211864 Baptiste Daroussin <b...@freebsd.org> changed: What|Removed |Added Summary|Compiler is using AVX |[Regression] Compiler is |instructions for|using AVX instructions for |CPUTYPE=btver1 |CPUTYPE=btver1 -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-amd64@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to "freebsd-amd64-unsubscr...@freebsd.org"
[Bug 211864] Compiler is using AVX instructions for CPUTYPE=btver1
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211864 Bug ID: 211864 Summary: Compiler is using AVX instructions for CPUTYPE=btver1 Product: Base System Version: 11.0-RC1 Hardware: amd64 OS: Any Status: New Keywords: regression Severity: Affects Some People Priority: --- Component: misc Assignee: freebsd-b...@freebsd.org Reporter: demik+free...@lostwave.net CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Hello, While rebuilding some ports after upgrading to 11.0-RC1 (with freebsd-update), almost every binary is crashing with SIGILL The system hardware is bobcat based : CPU: AMD C-70 APU with Radeon(tm) HD Graphics (1000.02-MHz K8-class CPU) Bobcat CPUs have only MMX, SSE, SSE2, SSE3, SSSE3, SSE4A instructions. Compiling without CPUTYPE results in working binaries. With CPUTYPE=btver1, the binaries does not work, as the CPU does not have any AVX instructions : root@square:~ # lldb /usr/local/bin/sudo (lldb) target create "/usr/local/bin/sudo" Current executable set to '/usr/local/bin/sudo' (x86_64). (lldb) run test Process 71447 launching Process 71447 launched: '/usr/local/bin/sudo' (x86_64) Process 71447 stopped * thread #1: tid = 101195, 0x000800a5421e libsudo_util.so.0`??? + 286, stop reason = signal SIGILL: privileged instruction frame #0: 0x000800a5421e libsudo_util.so.0`??? + 286 libsudo_util.so.0`???: -> 0x800a5421e <+286>: vzeroupper 0x800a54221 <+289>: callq 0x800a511e4 ; symbol stub for: sudo_debug_exit_int_v1 0x800a54226 <+294>: movq 0x20ad93(%rip), %rax ; libsudo_util.so.0..got + 72 0x800a5422d <+301>: movq (%rax), %rax Some information : root@square:~ # uname -a FreeBSD square 11.0-RC1 FreeBSD 11.0-RC1 #0 r303979: Fri Aug 12 02:28:24 UTC 2016 r...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 root@square:~ # cc -v 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 Everything was working fine while running 10.3-RELEASE this bug might be related to this one : https://reviews.llvm.org/D17682 Regards -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-amd64@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to "freebsd-amd64-unsubscr...@freebsd.org"
Re: CPU upgrade vs CPUTYPE
Cross-posting reply to amd64@ for relevance and to get answers from those smart gents. On 12/18/12 23:17, Toomas Aas wrote: Hello! We have a small server running FreeBSD 8.3 amd64 with Intel Pentium D 945 CPU. As the motherboard/CPU combo is getting rather old, we are considering an upgrade to new motherboard with Xeon E3-1230 CPU. We currently have these CPU settings in /etc/make.conf: CPUTYPE?=nocona in kernel configuration: cpu HAMMER this is the only possible setting in the kernel conf for amd64 as I was told. This was why (and might answer the make.conf question as well: from b.f.: Leave it alone. The choices for the cpu directive in the kernel config file, as described in config(5) and listed in src/sys/conf/options.arch (the only choice for amd64 is HAMMER), have nothing to do with the choices available for the CPUTYPE variable (which you may want to change to suit your hardware -- these are the architecture-dependent options available for the -march and -mtune directives of your compiler that are also recognized by bsd.cpu.mk), or with the cpu descriptions printed during boot. As for the rest of your questions, I leave them in the hands of those more knowledgeable than I. HTH Almost all the software is built from ports, few bits compiled directly from source. Base system is maintained by buildworld. Can we expect the software compiled with above CPU settings to run without problems on the Xeon E3? We had a chance recently to try a temporary motherboard/CPU swap in this server, replacing the CPU with Core i3-2xxx and there were some 'signal 11' errors, but I'm not sure whether this was due to incompatible CPUTYPE or something else. Thanks in advance, -- Yours in Christ, Joseph A Nagy Jr Whoever loves instruction loves knowledge, But he who hates correction is stupid. -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org ___ freebsd-amd64@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org
amd64/165850: 8.3-RC1 (amd64): Don't build world with CPUTYPE=core2
Number: 165850 Category: amd64 Synopsis: 8.3-RC1 (amd64): Don't build world with CPUTYPE=core2 Confidential: no Severity: serious Priority: medium Responsible:freebsd-amd64 State: open Quarter: Keywords: Date-Required: Class: update Submitter-Id: current-users Arrival-Date: Thu Mar 08 07:20:04 UTC 2012 Closed-Date: Last-Modified: Originator: Vladimir Omelchuk Release:FreeBSD 8.2 amd64 Organization: Environment: After updating (8.2 - 8.3-RC1): %uname -a FreeBSD vladiom.com.ua 8.3-RC1 FreeBSD 8.3-RC1 #1: Thu Mar 8 00:24:22 EET 2012 r...@vladiom.com.ua:/usr/src/sys/amd64/compile/x64_R83 amd64 Description: Don't build world with CPUTYPE=core2 on 8.3-RC1 (amd64) Error: -- How-To-Repeat: In the /etc/make.conf add CPUTYPE?=core2 and try buildworld on 8.3-RC1 (amd64) Fix: 1) compile and install world and kernel with commented CPUTYPE in make.conf 2) uncomment the CPUTYPE line, and recompile world and kernel Release-Note: Audit-Trail: Unformatted: stage 5.1: building 32 bit shim libraries -- === kerberos5/tools/make-print-version (obj) === kerberos5/tools/make-roken (obj) === kerberos5/tools/asn1_compile (obj) === kerberos5/tools/slc (obj) === kerberos5/tools/make-print-version (depend) === kerberos5/tools/make-roken (depend) === kerberos5/tools/asn1_compile (depend) yacc: 4 shift/reduce conflicts /usr/src/kerberos5/tools/make-print-version/../../../crypto/heimdal/lib/vers/make-print-version.c:1: error: bad value (core2) for -march= switch /usr/src/kerberos5/tools/make-print-version/../../../crypto/heimdal/lib/vers/make-print-version.c:1: error: bad value (core2) for -mtune= switch *** Error code 1 1 error *** Error code 2 make-roken.c:1: error: bad value (core2) for -march= switch make-roken.c:1: error: bad value (core2) for -mtune= switch *** Error code 1 1 error *** Error code 2 2 errors *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error ___ freebsd-amd64@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org