Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 195918
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: HTS <julien_bramary@msn.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 195918 depends on: Show dependency tree
Bug 195918 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-15 07:30 0000
The ebuild does not deal with x86_64-pc-linux-gnu and the build just defaults
to an unoptimised version.

I noticed this because SMP support is disabled, which is quite critical.

Managed to fix it temporarily on my local machine by adding the following:

if [[ "${CHOST}" == "x86_64-pc-linux-gnu" ]] ; then
    append-flags -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
    -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B \
    -DFAST -DSMP -DCPUS=4 -DCLONE -DDGT
    makeopts="${makeopts} CC=gcc CXX=g++ asm=X86_64.o"

But I don't know which would the optimal settings for this arch.
Can you please have a look?

Cheers,
-Julien

Reproducible: Always

------- Comment #1 From Tupone Alfredo 2007-12-09 10:31:50 0000 -------
The last version in portage, 21.6, should fix this. Thanks

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug