[LLVMbugs] [Bug 4145] Linking lcc fails on Cygwin

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon May 4 06:03:34 PDT 2009


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


Magnus Reftel <magnus.reftel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
            Summary|Bulds fail on Cygwin with   |Linking lcc fails on Cygwin
                   |error message about dwarf   |
                   |version                     |




--- Comment #5 from Magnus Reftel <magnus.reftel at gmail.com>  2009-05-04 08:03:30 ---
It appears not to be related to debug or to the compiler version. I've build
for retail (using --enable-optimized when configuring) and build with GCC 4 and
GCC 3.4.4, and I get link errors in both. The warnings about the dwarf version
go away though, so it seems that was a red herring.

$ svn info
Path: .
URL: http://llvm.org/svn/llvm-project/llvm/trunk
Repository Root: http://llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 70845
Node Kind: directory
Schedule: normal
Last Changed Author: evancheng
Last Changed Rev: 70821
Last Changed Date: 2009-05-04 05:30:11 +0200 (Mon, 04 May 2009)


GCC 4

$ ./config.status --version
llvm config.status 2.6svn
configured by ./configure, generated by GNU Autoconf 2.60,
  with options "'--prefix=/opt/llvm-svn' '--enable-optimized' 'CC=gcc-4'
'CFLAGS=-I/opt/llvm-svn/lib/libffi-3.0.8/include' 'LDFLAGS=-L/opt/llvm-svn/lib'
'CPPFLAGS=-I/opt/llvm-svn/lib/libffi-3.0.8/include' 'CXX=g++-4'
'CXXFLAGS=-I/opt/llvm-svn/lib/libffi-3.0.8/include'"

Copyright (C) 2006 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.

Attaching clean build output as 78045_optimized_gcc4.txt


GCC 3

$ ./config.status --version
llvm config.status 2.6svn
configured by ./configure, generated by GNU Autoconf 2.60,
  with options "'--prefix=/opt/llvm-svn' '--enable-optimized' 'CC=gcc'
'CFLAGS=-I/opt/llvm-svn/lib/libffi-3.0.8/include' 'LDFLAGS=-L/opt/llvm-svn/lib'
'CPPFLAGS=-I/opt/llvm-svn/lib/libffi-3.0.8/include' 'CXX=g++'
'CXXFLAGS=-I/opt/llvm-svn/lib/libffi-3.0.8/include'"

Copyright (C) 2006 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.


Attaching clean build output as 78045_optimized_gcc3.txt


$ gcc --version
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


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