You are here

Build Problem on 64 bit Gentoo

4 posts / 0 new
Last post
Build Problem on 64 bit Gentoo
#1

Hello everyone,
I am trying to build rosetta on a Gentoo 64 bit system. When I try to build it with gcc I get the following output:
nanoman rosetta++ # make gcc34

g++ -c -I. -Isrc -Iexternal/include -Isrc/platform/linux -Wall -W -pedantic -Wno-unused-variable -pipe -ffor-scope -fno-exceptions -malign-double -ffast-math -funroll-loops -finline-functions -finline-limit=20000 --param inline-unit-growth=1000 --param large-function-growth=50000 -DNDEBUG -O3 -s -std=c++98 -MMD -MT .gcc34.version_rosetta.d -MF .gcc34.version_rosetta.d -MP version_rosetta.cc -o .gcc34.version_rosetta.o
version_rosetta.cc:1: error: -malign-double makes no sense in the 64bit mode
make: *** [.gcc34.version_rosetta.o] Error 1

make: *** [.gccgraphics.version_rosetta.o] Error 1
When I try to run scons, I get the following output:
nanoman rosetta++ # scons
scons: Reading SConscript files ...
Traceback (most recent call last):
File "/home/spetzjoe/rosetta/rosetta++/SConstruct", line 86, in main
build = SConscript("tools/build/setup.py")
File "/usr/lib64/scons-1.0.0/SCons/Script/SConscript.py", line 596, in __call__
return apply(method, args, kw)
File "/usr/lib64/scons-1.0.0/SCons/Script/SConscript.py", line 533, in SConscript
return apply(_SConscript, [self.fs,] + files, subst_kw)
File "/usr/lib64/scons-1.0.0/SCons/Script/SConscript.py", line 256, in _SConscript
exec _file_ in call_stack[-1].globals
File "/home/spetzjoe/rosetta/rosetta++/tools/build/setup.py", line 356, in
build = setup()
File "/home/spetzjoe/rosetta/rosetta++/tools/build/setup.py", line 347, in setup
build.options_requested, build.options = setup_build_options()
File "/home/spetzjoe/rosetta/rosetta++/tools/build/setup.py", line 105, in setup_build_options
supported, actual.os, requested.arch
File "/home/spetzjoe/rosetta++/tools/build/setup_platforms.py", line 178, in select_arch
KeyError: "Processor architecture 'Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz' is unsupported."
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.
I am unsure where the problem is, so any help with that would be appreciated. Thanks for your help (and an useful piece of software).

Thu, 2008-11-20 12:24
spetzjoe

I've worked around the problem by editing the makefile. I would still like to know how to fix the scons error though. Thanks again for your help.

Mon, 2008-11-24 06:42
spetzjoe

Hi,
I have the exact same problem. What did you add to the makefile to make it work? Thanks a lot.

> I've worked around the problem by editing the makefile. I would still like to know how to fix the scons error though. Thanks again for your help.

Mon, 2008-12-29 23:05
joel

> Hello everyone,
> I am trying to build rosetta on a Gentoo 64 bit system. When I try to build it with gcc I get the following output:
> nanoman rosetta++ # make gcc34

We've got an ebuild for Rosetta3 in the science overlay. Install & configure app-portage/layman, then add the science overlay.

Sat, 2009-05-30 13:30
dberkholz