[LLVMbugs] [Bug 4360] clang crashes on solaris.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Jun 15 07:32:45 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4360


Edward O'Callaghan <eocallaghan at auroraux.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #3 from Edward O'Callaghan <eocallaghan at auroraux.org>  2009-06-15 09:32:45 ---
It looks like malloc_unlocked is a leaf routine which is attempting to fetch
some data from the parent's stack slot and that slot contains 'zero'.. which
malloc_unlocked isn't expecting.

After *much* work, this looks to be a mis-compile by Sun's old GCC.

Unfortunately there is not much I can do about that, Sun should update there
GCC to 4.x.x already ;(

> This page should include:

$ /usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
Configured with: /builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77,objc
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-20050802)


< http://llvm.org/docs/GettingStarted.html#brokengcc

Closing as "WONTFIX", Unless someone else has a say, then please reopen.

Cheers,
Edward.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list