[llvm-commits] [test-suite] r170307 - /test-suite/trunk/MultiSource/Benchmarks/7zip/Makefile

Michael Gottesman mgottesman at apple.com
Mon Dec 17 10:45:48 PST 2012


Just chatted with ddunbar, evidently -lstdc++ will be rewritten to link against libc++ if it is on the system, so I am not going to touch the configure portion that I mentioned.
On Dec 17, 2012, at 10:39 AM, Michael Gottesman <mgottesman at apple.com> wrote:

> Or maybe this is a sign of a bug in clang's handling on linux of c++ linkage?
> 
> On Dec 17, 2012, at 10:38 AM, Michael Gottesman <mgottesman at apple.com> wrote:
> 
>> I am using Makefile.multisrc for the linking phase which does use $(CXX) (I did a test run to double check this). I was just trying to be uber careful since when I recently committed the test ALAC, on certain linux systems a c++ standard library was not being linked in.
>> 
>> Really though the bigger question is why am I hardwiring in -lstdc++ instead of using the standard library found by configureā€¦ (I am going to change that now).
>> 
>> On Dec 17, 2012, at 2:56 AM, Joerg Sonnenberger <joerg at britannica.bec.de> wrote:
>> 
>>> On Mon, Dec 17, 2012 at 05:30:43AM -0000, Michael Gottesman wrote:
>>>> Author: mgottesman
>>>> Date: Sun Dec 16 23:30:43 2012
>>>> New Revision: 170307
>>>> 
>>>> URL: http://llvm.org/viewvc/llvm-project?rev=170307&view=rev
>>>> Log:
>>>> Ensure that 7zip-benchmark links against a c++ standard library, ala d0k's wisdom in r169995.
>>> 
>>> Shouldn't you be using ${CXX} for linking instead?
>>> 
>>> Joerg
>>> _______________________________________________
>>> llvm-commits mailing list
>>> llvm-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>> 
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list