[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Incorrect PathName for $exported_symbols on Cygwin

From: Reid Spencer
Subject: Incorrect PathName for $exported_symbols on Cygwin
Date: Thu, 23 Dec 2004 16:39:52 -0800

Version: ltmain.sh (GNU libtool) 1.5.10 (1.1220.2.130 2004/09/19 12:13:49)
config.guess: i686-pc-cygwin

In building LLVM (http://llvm.cs.uiuc.edu/) on Cygwin, I noticed a
problem with the following symptom from libtool (line 4332):

 such file or directory

We only see this problem Cygwin. We know it doesn't occur on Linux,
Darwin, Solaris, or FreeBSD. Not sure about other platforms.

The problem is that when we invoke libtool, we pass the entire path to
libtool to be built, not just the filename. The libtool script is is
using $output_objdir/$output.exp to formulate the name of a temporary
file for the exported symbols. However, the script does not ensure that
all intermediate directories are created. Instead of creating them, I
figured the file should be named $output_objdir/$outputname.exp instead.
The following patch makes that change.

Reid Spencer
LLVM Developer

Attachment: ltmain.sh.diffs
Description: Text document

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

[Prev in Thread] Current Thread [Next in Thread]