Re: x86 Darwin an libgcc-math

2006-02-01 Thread Richard Guenther
On 2/2/06, Shantonu Sen <[EMAIL PROTECTED]> wrote: > Awesome. > > With trunk, your 3 previous patches, my config/darwin.h patch for the > link line, and your further patch for visibility: > > [EMAIL PROTECTED] /opt/gccmath/bin/gcc -o test test.c -msselibm > [EMAIL PROTECTED] otool -Lv test > test:

Re: x86 Darwin an libgcc-math

2006-02-01 Thread Shantonu Sen
Awesome. With trunk, your 3 previous patches, my config/darwin.h patch for the link line, and your further patch for visibility: [EMAIL PROTECTED] /opt/gccmath/bin/gcc -o test test.c -msselibm [EMAIL PROTECTED] otool -Lv test test: /opt/gccmath/lib/libgcc-math.0.dylib (compatibility v

Re: x86 Darwin an libgcc-math

2006-02-01 Thread Richard Guenther
On 2/1/06, Richard Guenther <[EMAIL PROTECTED]> wrote: > On 2/1/06, Paolo Bonzini <[EMAIL PROTECTED]> wrote: > > > > > Is it intentional that these functions have global visibility and > > > interfere with functions declared and implemented by the system > > > libraries? If not, can they be compili

Re: x86 Darwin an libgcc-math

2006-02-01 Thread Richard Guenther
On 2/1/06, Paolo Bonzini <[EMAIL PROTECTED]> wrote: > > > Is it intentional that these functions have global visibility and > > interfere with functions declared and implemented by the system > > libraries? If not, can they be compilied with hidden visibility? > > Yes (I originally tried to "see wh

Re: x86 Darwin an libgcc-math

2006-02-01 Thread Paolo Bonzini
Is it intentional that these functions have global visibility and interfere with functions declared and implemented by the system libraries? If not, can they be compilied with hidden visibility? Yes (I originally tried to "see what happens if we use the glibc routines", then I shared the c

x86 Darwin an libgcc-math

2006-02-01 Thread Shantonu Sen
With trunk and those set of patches, x86 Darwin bootstraps and builds libgcc-math. However, there are some issues actually using it: alias:/tmp ssen$ cat test.c #include #include int main(int argc, char *argv[]) { double a = 1.590