Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552702 - dev-libs/Ice does not support x32
Summary: dev-libs/Ice does not support x32
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: Robert Förster
Depends on:
Blocks: x32
  Show dependency tree
Reported: 2015-06-21 05:49 UTC by Kyle Sanderson
Modified: 2020-06-22 09:22 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 Kyle Sanderson 2015-06-21 05:49:33 UTC
dev-libs/Ice explicitly adds -m64 or -m32 depending on the result of `uname -m`, which sucks because we're using x32. This is underneath cpp/config/Make.rules.Linux .

x86_64-pc-linux-gnux32-g++ -c -I.. -I../../include -DSLICE_API_EXPORTS  -O2 -pipe -march=native -mtune=native -m64 -Wall -pthread -fPIC -DNDEBUG Util.cpp
x86_64-pc-linux-gnux32-g++ -c -I.. -I../../include -DSLICE_API_EXPORTS  -O2 -pipe -march=native -mtune=native -m64 -Wall -pthread -fPIC -DNDEBUG FileTracker.cpp
x86_64-pc-linux-gnux32-g++ -c -I.. -I../../include -DSLICE_API_EXPORTS  -O2 -pipe -march=native -mtune=native -m64 -Wall -pthread -fPIC -DNDEBUG MD5.cpp
x86_64-pc-linux-gnux32-g++ -c -I.. -I../../include -DSLICE_API_EXPORTS  -O2 -pipe -march=native -mtune=native -m64 -Wall -pthread -fPIC -DNDEBUG MD5I.cpp
rm -f ../../lib/
x86_64-pc-linux-gnux32-g++ -shared -Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,-rpath,"/usr"/lib64 -rdynamic -O2 -pipe -march=native -mtune=native -m64 -Wall -pthread -fPIC -DNDEBUG -L../../lib -o ../../lib/ -Wl,-h,   Scanner.o ../Slice/Grammar.o Parser.o CPlusPlusUtil.o CsUtil.o JavaUtil.o Preprocessor.o Checksum.o PythonUtil.o DotNetNames.o RubyUtil.o PHPUtil.o Util.o FileTracker.o MD5.o MD5I.o -lIceUtil  -lmcpp
/usr/lib/gcc/x86_64-pc-linux-gnux32/4.7.3/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnux32/4.7.3/../../../ when searching for -lmcpp
/usr/lib/gcc/x86_64-pc-linux-gnux32/4.7.3/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/lib/ when searching for -lmcpp
/usr/lib/gcc/x86_64-pc-linux-gnux32/4.7.3/../../../../x86_64-pc-linux-gnux32/bin/ld: cannot find -lmcpp
collect2: error: ld returned 1 exit status
Makefile:49: recipe for target '../../lib/' failed
make[2]: *** [../../lib/] Error 1
Comment 1 Robert Förster 2020-06-21 16:15:49 UTC
actually, this was fixed in 3.6.3 already.