This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

trying to build powerpc-psos-elf cross gcc




Hi,

        I am trying to build the GNU tool chain for powerpc on pSOS.
I am using the one-tree-1.6.sh and build-cross.sh scripts to do the build.

If I run "build-cross.sh powerpc-psos-elf"  the build seems to progress normally
without error until it reaches this point --- at which point it blasts endless streams
of unrecognized opcode errors.   (SEE BELOW)

-------------
...
...
make[1]: Entering directory `/home/wrk/WorkDev/GCC_CrossCompiler_PPC/b-powerpc-psos-elf/gcc'
gcc -DCROSS_COMPILE -DIN_GCC -DHAIFA    -g -O2  -DHAVE_CONFIG_H    -I. -I../../src/gcc -I../../src/gcc/config
-I../../src/gcc/../include \
  -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/powerpc-psos-elf/2.95.2/include\" \
  -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/powerpc-psos-elf/2.95.2/../../../..`echo /usr/local | sed -e
's|^/usr/local||' -e 's|/[^/]*|/..|g'`/include/g++-3\" \
  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
  -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/powerpc-psos-elf/2.95.2/../../../../powerpc-psos-elf/sys-include\" \
  -DTOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/powerpc-psos-elf/2.95.2/../../../../powerpc-psos-elf/include\" \
  -c `echo ../../src/gcc/cccp.c | sed 's,^\./,,'`
/tmp/cc3l4KXj.s: Assembler messages:
/tmp/cc3l4KXj.s:541: Error: Alignment too large: 15 assumed
/tmp/cc3l4KXj.s:544: Error: Alignment too large: 15 assumed
/tmp/cc3l4KXj.s:549: Error: Alignment too large: 15 assumed
/tmp/cc3l4KXj.s:554: Error: Alignment too large: 15 assumed
/tmp/cc3l4KXj.s:823: Error: Unrecognized opcode: `pushl'
/tmp/cc3l4KXj.s:824: Error: Unrecognized opcode: `movl'
/tmp/cc3l4KXj.s:825: Error: Unrecognized opcode: `subl'
/tmp/cc3l4KXj.s:826: Error: Unrecognized opcode: `pushl'
/tmp/cc3l4KXj.s:827: Error: Unrecognized opcode: `pushl'
/tmp/cc3l4KXj.s:828: Error: Unrecognized opcode: `pushl'
.......
.......
------------------

Has anyone encountered this??

I have also tried to modify the build-cross.sh script to add the --with-headers and --with-libs directives
to configure.  But there is no substantive difference to the output of the build.

I thought that perhaps the native version of 'gas' was being called ... but I verified that it is not.
Does anyone have any theories about what is going wrong here.

Thanks in advance!!

-Will

--
William R. Kassebaum   Software Engineer, Escient Convergence Group Inc.
mailto:WKassebaum@Escient.Com, mailto:W.Kassebaum@Computer.Org
http://www.Escient.Com/
Work: (317) 814-3020


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]