Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300594 - QMAKESPEC for amd64: linux-g++-64 or linux-g++?
Summary: QMAKESPEC for amd64: linux-g++-64 or linux-g++?
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Qt Bug Alias
Depends on:
Blocks: 299769
  Show dependency tree
Reported: 2010-01-11 15:02 UTC by Peter Volkov (RETIRED)
Modified: 2010-03-22 17:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Peter Volkov (RETIRED) gentoo-dev 2010-01-11 15:02:36 UTC
Guys, shouldn't QMAKESPEC be set to linux-g++-64 on amd64? Some people suggest: (see message 6)

and some programs (qtiplot) use in .pro files:

linux-g++-64: libsuff=64

This breaks multilib (see If this is not suggested solution I can set QMAKESPEC manually on amd64 for qtiplot or alternatively it possible to use following workaround: (message 4)

Any suggestions?
Comment 1 Dominik Kapusta (RETIRED) gentoo-dev 2010-03-22 17:28:04 UTC
We could change it, but it would cause more problems than benefits (e.g. the possible multilib incompatibility that you mentioned). The default mkspec is relevant only to qmake-based projects ran with default configuration.

Instead we're about to pass correct mkspec as a qmake parameter in eqmake4, so when compiling with Portage in 32-bit environment it would be linux-g++ (or linux-g++-32, we'll investigate it further) and, respectively, linux-g++-64 for amd64 environment.

So the issue itself will be fixed for compilation with Portage, but by other means. By the way, the default mkspecs is set to linux-g++ for instance on amd64 Debian and Ubuntu. Users can still adjust the symlink to their liking.