[gstreamer-bugs] [Bug 614767] libgstreamer build failure on OS X x86_64

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Apr 11 00:13:06 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=614767
  GStreamer | gstreamer (core) | 0.10.26

--- Comment #18 from Daniel Macks <dmacks at netspace.org> 2010-04-11 07:12:59 UTC ---
My tester is tracing a lot of assembly internals for the compiled code, will
get a summary soon. Mean time, he thinks might need to assign at least one
value from an external source and do something external with the value rather
than just calculating it:

>In fact, to be put in the configure test, it has to be complicated
>further: the tests are run with -Os, and to prevent the compiler
>from opimizing out the difficulty, I needed both a random input,
>and to do something with the result (print it..)
[...]
>      __uint128_t v1 = 1000ULL;
>      __uint128_t v2 = (__uint128_t) random();
>      __uint128_t u = (v2)/(v1);
>      printf ("u= %%llu \\n", u);

-Os is the apple-recommended optimization level. Seems reasonable that a
compiler might optimize a whole "constant" block of math and then might omit
that block entirely once the result is ignored and has no side effects?

-- 
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