Summary: | multimedia/libvpx wrong CFLAGS/fail to build | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | sasamotikomi | ||||
Component: | Individual Port(s) | Assignee: | Jan Beich <jbeich> | ||||
Status: | Closed Works As Intended | ||||||
Severity: | Affects Some People | CC: | ashish | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | i386 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
sasamotikomi
2015-08-18 05:19:38 UTC
Hi, Could you provide more details about your host ? 1. uname -a 2. sysctl hw.model Thanks! (In reply to Ashish SHUKLA from comment #1) uname -a FreeBSD 10.1-RELEASE-p16 FreeBSD 10.1-RELEASE-p16 #0: Tue Jul 28 11:41:12 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 sysctl hw.model hw.model: AMD Sempron(tm) 2500+ It's typical mistake, I already wrote about it: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198738 Created attachment 160523 [details]
Proposed fix for the issue
Sorry for the delay in follow up on this issue. Could you please try the attached diff (inspired from: r387283), and see if it fixes your build issue ?
Thanks!
Comment on attachment 160523 [details] Proposed fix for the issue bug 202586 revealed the reporter has broken toolchain. I'd ask you to not rush the change in. It'd disable runtime optimization (detected via CPUID) that is often useful for package users. Besides, MACHINE_CPU has nothing to do with -mfoo support or header availability. # FreeBSD 10.1R i386 $ find /usr/include /usr/lib/clang -name immintrin.h /usr/include/clang/3.4.1/immintrin.h find: /usr/lib/clang: No such file or directory # FreeBSD 11.0-CURRENT armv6 $ find /usr/include /usr/lib/clang -name immintrin.h /usr/lib/clang/3.6.1/include/immintrin.h Closing since no one else has bumped into the issue. |