[LLVMbugs] [Bug 3586] cant redefine malloc() prototype

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Feb 14 14:57:37 PST 2009


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


Roman Divacky <rdivacky at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #3 from Roman Divacky <rdivacky at freebsd.org>  2009-02-14 16:57:37 ---
ccc (the new one) got broken by r64566

lev ROMAN# make
/usr/local/bin/ccc -c -O2 -pipe -fno-strict-aliasing -march=native -std=c99 -g
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../..
-I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel
-mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow
-msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
../../../amd64/amd64/genassym.c
ccc: Unknown host 'freebsd', using generic host information.
*** Error code 245

it works ok when I remove the -ffreestanding option (works = fails on malloc
being redefined)


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