lkml.org 
[lkml]   [2010]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Will's kernel compilation error
Date
snip

> >
> > [root@jericho linux]# gcc-3.4.3 -v
> > Reading specs from /usr/lib/gcc/alphaev5-alpha-linux/3.4.3/specs
> > Configured with: ../gcc-3.4.3/configure --prefix=/usr --
> sysconfdir=/etc
> > --mandir=/usr/share/man --infodir=/usr/share/info
> > --build=alphaev5-alpha-linux --host=alphaev5-alpha-linux
> > --target=alphaev5-alpha-linux --program-suffix=-3.4.3 --enable-
> languages=all
> >

snip

> >
> > gcc-3.4.3 -Wp,-MD,arch/alpha/lib/.__remqu.o.d  -nostdinc -isystem
> > /usr/lib/gcc/alphaev5-alpha-linux/3.4.3/include
> > -I/usr/src/linux-2.6.34-rc1/arch/alpha/include -Iinclude  -include
> > include/generated/autoconf.h -D__KERNEL__ -D__ASSEMBLY__    -Wall -
> Wundef
> > -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
> > -Werror-implicit-function-declaration -Wno-format-security
> > -fno-delete-null-pointer-checks -pipe -Os -pipe -mno-fp-regs -ffixed-
> 8
> > -msmall-data  -mcpu=ev67 -Wa,-mev6   -fomit-frame-pointer
> > -Wdeclaration-after-statement     -DREM  -c -o
> arch/alpha/lib/__remqu.o
> > arch/alpha/lib/ev6-divide.S
>
> Why is your CHOST alphaev5-alpha-linux but you're compiling for EV67?


Well actually that’s the --build option that was set when building gcc
itself. I have several different gcc versions for both EV5 and EV67. I was
thinking rolling my own Fedora releases, one for myself and possibly
something more general (EV5) for Oliver.

>
> >  AS      arch/alpha/lib/callback_srm.o
> >  CC      arch/alpha/lib/checksum.o
> >  CC      arch/alpha/lib/csum_partial_copy.o
> >  AS      arch/alpha/lib/ev6-clear_page.o
> >  AS      arch/alpha/lib/ev6-clear_user.o
> >  AS      arch/alpha/lib/ev6-copy_page.o
> >  AS      arch/alpha/lib/ev6-copy_user.o
> >  AS      arch/alpha/lib/ev6-csum_ipv6_magic.o
> >  AS      arch/alpha/lib/ev6-memchr.o
> >  AS      arch/alpha/lib/ev6-memcpy.o
> >  AS      arch/alpha/lib/ev6-memset.o
> >  AS      arch/alpha/lib/ev6-strncpy_from_user.o
> >  AS      arch/alpha/lib/ev6-stxcpy.o
> >  AS      arch/alpha/lib/ev6-stxncpy.o
> >  AS      arch/alpha/lib/ev67-strcat.o
> >  AS      arch/alpha/lib/ev67-strchr.o
> >  AS      arch/alpha/lib/ev67-strlen.o
> >  AS      arch/alpha/lib/ev67-strlen_user.o
> >  AS      arch/alpha/lib/ev67-strncat.o
> >  AS      arch/alpha/lib/ev67-strrchr.o
> >  CC      arch/alpha/lib/fls.o
> >  CC      arch/alpha/lib/fpreg.o
> >  AS      arch/alpha/lib/memmove.o
> >  CC      arch/alpha/lib/srm_printk.o
> >  CC      arch/alpha/lib/srm_puts.o
> >  AS      arch/alpha/lib/strcpy.o
> >  AS      arch/alpha/lib/strncpy.o
> >  CC      arch/alpha/lib/udelay.o
> >  AR      arch/alpha/lib/lib.a
> >  LD      vmlinux.o
> >  MODPOST vmlinux.o
> > WARNING: modpost: Found 1 section mismatch(es).
> > To see full details build your kernel with:
> > 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> >  GEN     .version
> >  CHK     include/generated/compile.h
> >  UPD     include/generated/compile.h
> >  CC      init/version.o
> >  LD      init/built-in.o
> >  LD      .tmp_vmlinux1
> > kernel/built-in.o: In function `kthread_create':
> > (.text+0x1ece4): relocation truncated to fit: GPREL16 against symbol
> > `kthreadd_task' defined in .sbss section in kernel/built-in.o
> > kernel/built-in.o: In function `check_cpu_itimer':
> > (.text+0x21784): relocation truncated to fit: GPREL16 against `.sbss'

snip

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-03-16 00:25    [W:0.114 / U:0.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site