[LLVMbugs] [Bug 3517] New: undefined reference to extern inline function
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Feb 9 10:27:42 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=3517
Summary: undefined reference to extern inline function
Product: tools
Version: 2.5
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jay.foad at antixlabs.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2515)
--> (http://llvm.org/bugs/attachment.cgi?id=2515)
test case
The attached test case is taken from the GCC 4.2 testsuite. With llvm-gcc 2.5
(first prerelease) I get:
$ ~/llvm/llvm-gcc4.2-2.5-x86-linux-RHEL4/bin/llvm-gcc -w -O2 20010119-1.c
/tmp/ccUbcv70.o: In function `main':
20010119-1.c:(.text+0x36): undefined reference to `foo'
collect2: ld returned 1 exit status
I don't get this error with either llvm-gcc 2.4 or any GCC 4.X (I've tried
debian lenny's 4.1.3, 4.2.4 and 4.3.2).
--
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