Gentoo Archives: gentoo-devhelp

From: Peter Volkov <pva@g.o>
To: Nikos Chantziaras <realnc@×××××.de>
Cc: gentoo-devhelp@l.g.o
Subject: Re: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
Date: Tue, 17 May 2011 19:00:08
Message-Id: 1305658739.19924.2.camel@tablet
In Reply to: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS? by Nikos Chantziaras
1 В Втр, 17/05/2011 в 18:40 +0300, Nikos Chantziaras пишет:
2 > On 05/17/2011 11:57 AM, Peter Volkov wrote:
3 > > В Втр, 17/05/2011 в 10:18 +0300, Nikos Chantziaras пишет:
4 > >> On 05/17/2011 09:45 AM, Peter Volkov wrote:
5 > >>> В Втр, 17/05/2011 в 08:23 +0300, Nikos Chantziaras пишет:
6 > >>>> scons: *** Path for option install_path does not exist:
7 > >>>> /var/tmp/portage/dev-util/gpuocelot-9999/image
8 > >>>
9 > >>> Please, post full ebuild.
10 > >
11 > >> src_compile() {
12 > >> tc-export CC CXX
13 > >> escons install_path="${D}"/usr test_level=none || die
14 > >
15 > > You don't need install_path here, only in src_install().
16 >
17 > Removing it brings us back to the original problem:
18 >
19 > g++ -o .release_build/OcelotConfig -L/usr/lib64/llvm -lpthread -lffi
20 > -ldl -lm .release_build/ocelot/tools/OcelotConfig.o -L/usr/lib
21 > -L/usr/lib64/llvm -L. -locelot
22 > /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld:
23 > cannot find -locelot
24 > collect2: ld returned 1 exit status
25
26 Looks like this is bug in build system not in ebuild. Try to build
27 manually and if that fails then either fix it or report upstream.
28
29 --
30 Peter.

Replies

Subject Author
[gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS? Nikos Chantziaras <realnc@×××××.de>