If no "-m64" option is added, gnu compilers will run in 32-bits model by default.
PPC64 is a bi-arch. So I think it is also desirable for frysk to be built as
64-bits and can handle 32-bits and 64-bits application at the same time. What
is your point? Thanks.
The fix is simple, use this in frysk.spec (EXPORT):
local c=" -mminimal-toc -m64"
BTW, what is the situation in x86-64? Does it build in 64-bits model by default?
BTW. with "-m64", the internal compiler error we discussed before can be worked
I mentioned this in http://sourceware.org/ml/frysk/2006-q1/msg00026.html:
I made a test with the 20060106 snapshot of gcc-4.1, it still failed.
Janis Johnson also confirmed that it failed in the same way on GCC trunk,
gcc-3.4.2 building in 32-bits mode, with "-m64" option however, it will
report only an undefined reference:
/tmp/ccggTln9.o(.toc+0x10): undefined reference to `cniinner::child::class$'
collect2: ld returned 1 exit status
* Thu Jan 26 2006 Andrew Cagney <firstname.lastname@example.org> 0.0.1.2006.01.22-0.EL4.3
- From Wu Zhou <email@example.com>: Add -m64 to ppc64 CC et.al.