Re: Problem building GCC 8.2.0 amd64-to-i386 cross-compiler

2018-09-25 Thread luigi30
That was it - thank you. My GCC cross-compiler now works. —Katherine > On Sep 25, 2018, at 8:25 AM, Todd C. Miller wrote: > >> On Mon, 24 Sep 2018 23:43:20 -0400, Katherine Rohl wrote: >> >> I need to build a GCC cross-compiler targeting i386-pc-elf. I'm running >> into problems with the buil

Re: Problem building GCC 8.2.0 amd64-to-i386 cross-compiler

2018-09-25 Thread Todd C. Miller
On Mon, 24 Sep 2018 23:43:20 -0400, Katherine Rohl wrote: > I need to build a GCC cross-compiler targeting i386-pc-elf. I'm running > into problems with the build on OpenBSD 6.3. > > I've already successfully built a binutils-2.31.1 for i386-pc-elf. > > Trying to use the GCC 4.9.4 package (as GCC

Re: Problem building GCC 8.2.0 amd64-to-i386 cross-compiler

2018-09-24 Thread Daniel Corbe
at 11:43 PM, Katherine Rohl wrote: *** /usr/bin/ld: build/genmodes.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC *** Have you tried following the compiler’s advice and rebuilding with -fPIC

Problem building GCC 8.2.0 amd64-to-i386 cross-compiler

2018-09-24 Thread Katherine Rohl
I need to build a GCC cross-compiler targeting i386-pc-elf. I'm running into problems with the build on OpenBSD 6.3. I've already successfully built a binutils-2.31.1 for i386-pc-elf. Trying to use the GCC 4.9.4 package (as GCC 4.2 is too old to build GCC 8), my configure is: CC=egcc CXX=eg+