Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-devhelp
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-devhelp@g.o
From: Nikos Chantziaras <realnc@...>
Subject: Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
Date: Tue, 17 May 2011 22:12:11 +0300
On 05/17/2011 09:58 PM, Peter Volkov wrote:
> В Втр, 17/05/2011 в 18:40 +0300, Nikos Chantziaras пишет:
>> On 05/17/2011 11:57 AM, Peter Volkov wrote:
>>> В Втр, 17/05/2011 в 10:18 +0300, Nikos Chantziaras пишет:
>>>> On 05/17/2011 09:45 AM, Peter Volkov wrote:
>>>>> В Втр, 17/05/2011 в 08:23 +0300, Nikos Chantziaras пишет:
>>>>>> scons: *** Path for option install_path does not exist:
>>>>>> /var/tmp/portage/dev-util/gpuocelot-9999/image
>>>>>
>>>>> Please, post full ebuild.
>>>
>>>> src_compile() {
>>>> 	tc-export CC CXX
>>>> 	escons install_path="${D}"/usr test_level=none || die
>>>
>>> You don't need install_path here, only in src_install().
>>
>> Removing it brings us back to the original problem:
>>
>> g++ -o .release_build/OcelotConfig -L/usr/lib64/llvm -lpthread -lffi
>> -ldl -lm .release_build/ocelot/tools/OcelotConfig.o -L/usr/lib
>> -L/usr/lib64/llvm -L. -locelot
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld:
>> cannot find -locelot
>> collect2: ld returned 1 exit status
>
> Looks like this is bug in build system not in ebuild. Try to build
> manually and if that fails then either fix it or report upstream.

Building manually (using the exact same commands as used in the ebuild) 
works correctly.  Only with the ebuild does it fail.



References:
How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
-- Nikos Chantziaras
Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
-- Nikos Chantziaras
Re: Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
-- Nathan Phillip Brink
Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
-- Nikos Chantziaras
Re: Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
-- Peter Volkov
Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
-- Nikos Chantziaras
Re: Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
-- Peter Volkov
Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
-- Nikos Chantziaras
Re: Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
-- Peter Volkov
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
Next by thread:
PYTHON_DEPEND syntax
Previous by date:
Re: Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
Next by date:
PYTHON_DEPEND syntax


Updated Jun 03, 2012

Summary: Archive of the gentoo-devhelp mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.