Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Citadel won't compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
oshiro
n00b
n00b


Joined: 27 Feb 2009
Posts: 10
Location: Nieuwerkerk aan den IJssel, The Netherlands

PostPosted: Thu Jan 06, 2011 10:33 pm    Post subject: Citadel won't compile Reply with quote

Hi all,

While compiling libcitadel 7.84 from sunrise i get the following error:

Quote:
/bin/sh ./libtool --silent --mode=compile x86_64-pc-linux-gnu-gcc -I./lib -I. -march=athlon64 -O3 -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -D HAVE_MMAP -o lib/tools.lo -c lib/tools.c
make: *** [lib/tools.lo] Error 1
* ERROR: dev-libs/libcitadel-7.84 failed:
* emake failed


I can't find anything else regarding information;
The environment file only mentions the following:

Quote:
src_compile ()
{
make || die "emake failed"
}


When i enter the work-directory, and use "make" the build fails in exactly the same way.
However, when i run "./configure && make", the build succeeds like it should. So apparently there is something that Emerge does to the configuration that messes up the compilation.
The configuration parameters added by Gentoo:
Quote:
>>> Configuring source in /var/tmp/portage/dev-libs/libcitadel-7.84/work/libcitadel-7.84 ...
* econf: updating libcitadel-7.84/conftools/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating libcitadel-7.84/conftools/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64


What should i do next to get this thing to work? I've hit a dead end! :)
Back to top
View user's profile Send private message
oshiro
n00b
n00b


Joined: 27 Feb 2009
Posts: 10
Location: Nieuwerkerk aan den IJssel, The Netherlands

PostPosted: Thu Jan 13, 2011 6:00 am    Post subject: Reply with quote

Found the problem: it's the -O3 flag :).

Changed the ebuild to include --filter-flags -O3 -O2, and now it works fine!
Back to top
View user's profile Send private message
phajdan.jr
Retired Dev
Retired Dev


Joined: 23 Mar 2006
Posts: 1777
Location: Poland

PostPosted: Thu Jan 13, 2011 6:49 am    Post subject: Reply with quote

oshiro wrote:
Found the problem: it's the -O3 flag :).

Changed the ebuild to include --filter-flags -O3 -O2, and now it works fine!


Have you reported the problem to package maintainer in sunrise? It would be nice to fix it for everyone.
_________________
http://phajdan-jr.blogspot.com/
Back to top
View user's profile Send private message
oshiro
n00b
n00b


Joined: 27 Feb 2009
Posts: 10
Location: Nieuwerkerk aan den IJssel, The Netherlands

PostPosted: Thu Jan 13, 2011 6:51 am    Post subject: Reply with quote

phajdan.jr wrote:
oshiro wrote:
Found the problem: it's the -O3 flag :).

Changed the ebuild to include --filter-flags -O3 -O2, and now it works fine!


Have you reported the problem to package maintainer in sunrise? It would be nice to fix it for everyone.
Already done ;). It'll be included in the next ebuild.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum