[LLVMbugs] [Bug 2614] Redefined symbols with llvm-gcc with -std=c99 and -O1 (or higher )
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Jul 31 02:24:01 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2614
Anton Korobeynikov <asl at math.spbu.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #9 from Anton Korobeynikov <asl at math.spbu.ru> 2008-07-31 04:24:00 ---
(In reply to comment #6)
> However I get the same if I compile using mainline gcc.
> This is on x86-64 linux with gcc 4.3. Interestingly
> enough, on x86-32 linux with gcc 4.2 I get the same
> from llvm-gcc, but no errors from gcc-4.2. In any case
> I see no complaints about strtod and friends.
The 'inline' semantics were changed for 4.2 to be C99-consistent. Bogus
includes (which rely on old semantics) should be fixed by fixincludes during
gcc compilation. Surely, this is not true for this case, since prebuilt
binaries were used.
See:
http://gcc.gnu.org/ml/gcc-patches/2006-05/msg00328.html
*** This bug has been marked as a duplicate of bug 1699 ***
--
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