[gstreamer-bugs] [Bug 614767] libgstreamer build failure on OS X x86_64
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Apr 9 10:52:42 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=614767
GStreamer | gstreamer (core) | 0.10.26
--- Comment #13 from Daniel Macks <dmacks at netspace.org> 2010-04-09 17:52:40 UTC ---
>jfm-2:tmp root# cat uint128_tst.c
>#include <stdio.h>
>int main ()
>{
> volatile unsigned long long v1 = 1024ULL;
> printf ("v1= %llu \n", v1);
> volatile unsigned long long v2 = 0x8000000000000000ULL;
> printf ("v2= %llu \n", v2);
> volatile __uint128_t u = ((__uint128_t)v2)/((__uint128_t)v1);
> printf ("u= %llu \n", u);
> return 0;
>}
>jfm-2:tmp root# gcc -v -arch x86_64 -O0 -save-temps uint128_tst.c -o uint128_tst
[...]
>GNU C version 4.0.1 (Apple Inc. build 5493) (i686-apple-darwin9)
> compiled by GNU C version 4.0.1 (Apple Inc. build 5493).
>jfm-2:tmp root# fgrep divq uint128_tst.s
> divq -56(%rbp)
>jfm-2:tmp root# uint128_tst
>v1= 1024
>v2= 9223372036854775808
>u= 9007199254740992
>
>The compiler obviously handles that division well !
>
>jfm-2:tmp root# nm -m uint128_tst.o
>00000000000000c8 (__TEXT,__eh_frame) non-external EH_frame1
>00000000000000a7 (__TEXT,__cstring) non-external LC0
>00000000000000b2 (__TEXT,__cstring) non-external LC1
>00000000000000bd (__TEXT,__cstring) non-external LC2
>0000000000000000 (__TEXT,__text) external _main
>00000000000000e0 (__TEXT,__eh_frame) external _main.eh
> (undefined) external _printf
>
>shows that nothing is needed at the linking stage
(e.g., no ___udivti3)
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list