Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2015 15:53:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 202586] mail/thunderbird fail to build/wrong CFLAGS sse2 on i386
Message-ID:  <bug-202586-21738-8RUSphpfqn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202586-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202586-21738@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #2 from sasamotikomi@gmail.com ---
(In reply to Jan Beich from comment #1)
Default clang (cc -v
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: i386-unknown-freebsd10.1
Thread model: posix
Selected GCC installation: )
 cc -msse2 a.c

a.c:1:10: fatal error: 'emmintrin.h' file not found
#include <emmintrin.h>
         ^
1 error generated.

cc -march=athlon-xp -msse2 a.c

a.c:1:10: fatal error: 'emmintrin.h' file not found
#include <emmintrin.h>
         ^
1 error generated.

cc -msse2 -dM -E -</dev/null | fgrep SSE

#define __SSE2_MATH__ 1
#define __SSE2__ 1
#define __SSE_MATH__ 1
#define __SSE__ 1

cc -march=athlon-xp -msse2 -dM -E -</dev/null | fgrep SSE
#define __SSE2_MATH__ 1
#define __SSE2__ 1
#define __SSE_MATH__ 1
#define __SSE__ 1

find /usr/include /usr/lib/clang -name emmintrin.h
find: /usr/lib/clang: No such file or directory

find /usr/include  -name emmintrin.h

find / -name emmintrin.h
/usr/local/lib/gcc48/gcc/i386-portbld-freebsd10.1/4.8.5/include/emmintrin.h
/usr/local/lib/gcc46/gcc/i386-portbld-freebsd10.0/4.6.4/include/emmintrin.h
/usr/local/llvm36/lib/clang/3.6.2/include/emmintrin.h

-- 
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-202586-21738-8RUSphpfqn>