Hi

I'm trying to build snv_105/107 kernel. However I'm getting this error
below.. (This is with both SSX or SS12 patched..) I've documented env
details and other things for 105 at
http://bugs.osunix.org/browse/OSUNIX-43 , but hoping it looks familiar
enough to someone that they'll be able to make a suggestion..

opengrok doesn't doesn't find some of those symbols/functions? (inside
the compiler?)

Could someone who has a working non-debug, non-gnu-shadow, comment
stripped, non-elf-signed build of usr/src/uts please env > env.log and
email it to me... (Also if anyone is brave or wants to ssh in and try
to fix I can provide ssh details or full zone downloads)


Thanks a lot,

./Christopher


-------------------------------

// For 107 it dies @

/usr/bin/as -P -xarch=amd64 -P -Ui386 -U__i386 -D_KERNEL -D_SYSCALL32
-D_SYSCALL32_IMPL -D_ELF64 -D_DDI_STRICT -Dsun -D__sun -D__SVR4 -Di86pc
-D_MACHDEP -DOPTERON_ERRATUM_88 -DOPTERON_ERRATUM_91
-DOPTERON_ERRATUM_93 -DOPTERON_ERRATUM_95 -DOPTERON_ERRATUM_99
-DOPTERON_ERRATUM_100 -DOPTERON_ERRATUM_101 -DOPTERON_ERRATUM_108
-DOPTERON_ERRATUM_109 -DOPTERON_ERRATUM_121 -DOPTERON_ERRATUM_122
-DOPTERON_ERRATUM_123 -DOPTERON_ERRATUM_131 -DOPTERON_WORKAROUND_6336786
-DOPTERON_WORKAROUND_6323525 -DOPTERON_ERRATUM_172
-DOPTERON_ERRATUM_298 -D_ASM -D__STDC__=0 -I../../i86pc
-I/var/tmp/portage/sys-kernel/solaris-kernel-105/work//onnv-gate/usr/src/common
-I../../intel -I../../common -I../../i86pc/genassym/obj64 -o
obj64/copy.o ../../intel/ia32/ml/copy.s
Assembler:
"../../intel/ia32/ml/copy.s", line 394 : Illegal mnemonic
Near line: " jmpq *%r10"
"../../intel/ia32/ml/copy.s", line 394 : Syntax error
Near line: " jmpq *%r10"
"../../intel/ia32/ml/copy.s", line 398 : Illegal mnemonic
Near line: " .int .bcopyP0Q0-.bcopyfwdPxQx "

(I can probably guess how to resolve this, but thought I should ask)
//


// For 105.. I'm forcing the use of sun as instead of gas.. (aw was
trying to pass -K to gas and failing)

W/O RELEASE_BUILD

/usr/ccs/bin/ld -dy -b -o debug64/unix -e dboot_image -znointerp -M
../../i86pc/conf/Mapfile.amd64 \
./debug64/unix.o debug64/dboot.o ./debug64/modstubs.o -L
../../intel/genunix/debug64 -l genunix \
debug64/libdtracestubs.so
*** Error code 1
*** Error code 1
The following command caused the error:
BUILD_TYPEÛG64 VERSION='onnv-gate' make def.targ


RELEASE_BUILD set


/usr/ccs/bin/ld -dy -b -o debug64/unix -e dboot_image -znointerp -M
../../i86pc/conf/Mapfile.amd64 \
./debug64/unix.o debug64/dboot.o ./debug64/modstubs.o -L
../../intel/genunix/debug64 -l genunix \
debug64/libdtracestubs.so
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
ops: value 0xfffffffffbc3c0d0 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
romp: value 0xfffffffffbc3cf60 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
_flt_fuword64: value 0xfffffffffb84f095 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
_flt_fuword32: value 0xfffffffffb84f0f3 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
_flt_fuword16: value 0xfffffffffb84f155 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
_flt_fuword8: value 0xfffffffffb84f1b3 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
_flt_suword64: value 0xfffffffffb84f212 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
_flt_suword32: value 0xfffffffffb84f271 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
_flt_suword16: value 0xfffffffffb84f2d2 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
_flt_suword8: value 0xfffffffffb84f332 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb8553fc does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
nopanicdebug: value 0xfffffffffbc08104 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858c66 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858d08 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858d34 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858dfe does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858c69 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858d0b does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858e01 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858c66 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858d08 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858dfe does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858d89 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858dd1 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858e86 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858e44 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858bfc does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858aca does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858b33 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858bb3 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
.text (section): value 0xfffffffffb858c14 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
_lfence_insn: value 0xfffffffffb858fc2 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
_lfence_insn: value 0xfffffffffb858fc2 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
_lfence_insn: value 0xfffffffffb858fc2 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
_lfence_insn: value 0xfffffffffb858fc2 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
workaround_6323525_patched: value 0xfffffffffbc05d88 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
workaround_6323525_patched: value 0xfffffffffbc05d88 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
kdi_cpusave: value 0xfffffffffbc66260 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
kdi_cpusave: value 0xfffffffffbc66260 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
kdi_nmemranges: value 0xfffffffffbc83af4 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
kdi_memranges: value 0xfffffffffbc453f0 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
psm_shutdownf: value 0xfffffffffbc02840 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
rm_platter_va: value 0xfffffffffbc031a0 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
rm_platter_pa: value 0xfffffffffbc3f6c8 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
kernel_cs_code: value 0xfffffffffb838258 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
bootops: value 0xfffffffffbc03190 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
x86_feature: value 0xfffffffffbc01280 does not fit
ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
boothowto: value 0xfffffffffbc547b4 does not fit

Search Discussions

  • Piotr Jasiukajtis at Jan 23, 2009 at 8:06 am
    I remember there were problems regarding closed bins when I built non debug
    onnv-gate...

    I would suggest to remove incremental nightly flag first to get things clean.

    C. Bergstr?m pisze:
    Hi

    I'm trying to build snv_105/107 kernel. However I'm getting this error
    below.. (This is with both SSX or SS12 patched..) I've documented env
    details and other things for 105 at
    http://bugs.osunix.org/browse/OSUNIX-43 , but hoping it looks familiar
    enough to someone that they'll be able to make a suggestion..

    opengrok doesn't doesn't find some of those symbols/functions? (inside
    the compiler?)

    Could someone who has a working non-debug, non-gnu-shadow, comment
    stripped, non-elf-signed build of usr/src/uts please env > env.log and
    email it to me... (Also if anyone is brave or wants to ssh in and try
    to fix I can provide ssh details or full zone downloads)


    Thanks a lot,

    ./Christopher


    -------------------------------

    // For 107 it dies @

    /usr/bin/as -P -xarch=amd64 -P -Ui386 -U__i386 -D_KERNEL -D_SYSCALL32
    -D_SYSCALL32_IMPL -D_ELF64 -D_DDI_STRICT -Dsun -D__sun -D__SVR4 -Di86pc
    -D_MACHDEP -DOPTERON_ERRATUM_88 -DOPTERON_ERRATUM_91
    -DOPTERON_ERRATUM_93 -DOPTERON_ERRATUM_95 -DOPTERON_ERRATUM_99
    -DOPTERON_ERRATUM_100 -DOPTERON_ERRATUM_101 -DOPTERON_ERRATUM_108
    -DOPTERON_ERRATUM_109 -DOPTERON_ERRATUM_121 -DOPTERON_ERRATUM_122
    -DOPTERON_ERRATUM_123 -DOPTERON_ERRATUM_131 -DOPTERON_WORKAROUND_6336786
    -DOPTERON_WORKAROUND_6323525 -DOPTERON_ERRATUM_172
    -DOPTERON_ERRATUM_298 -D_ASM -D__STDC__=0 -I../../i86pc
    -I/var/tmp/portage/sys-kernel/solaris-kernel-105/work//onnv-gate/usr/src/common
    -I../../intel -I../../common -I../../i86pc/genassym/obj64 -o
    obj64/copy.o ../../intel/ia32/ml/copy.s
    Assembler:
    "../../intel/ia32/ml/copy.s", line 394 : Illegal mnemonic
    Near line: " jmpq *%r10"
    "../../intel/ia32/ml/copy.s", line 394 : Syntax error
    Near line: " jmpq *%r10"
    "../../intel/ia32/ml/copy.s", line 398 : Illegal mnemonic
    Near line: " .int .bcopyP0Q0-.bcopyfwdPxQx "

    (I can probably guess how to resolve this, but thought I should ask)
    //


    // For 105.. I'm forcing the use of sun as instead of gas.. (aw was
    trying to pass -K to gas and failing)

    W/O RELEASE_BUILD

    /usr/ccs/bin/ld -dy -b -o debug64/unix -e dboot_image -znointerp -M
    ../../i86pc/conf/Mapfile.amd64 \
    ./debug64/unix.o debug64/dboot.o ./debug64/modstubs.o -L
    ../../intel/genunix/debug64 -l genunix \
    debug64/libdtracestubs.so
    *** Error code 1
    *** Error code 1
    The following command caused the error:
    BUILD_TYPEÛG64 VERSION='onnv-gate' make def.targ


    RELEASE_BUILD set


    /usr/ccs/bin/ld -dy -b -o debug64/unix -e dboot_image -znointerp -M
    ../../i86pc/conf/Mapfile.amd64 \
    ./debug64/unix.o debug64/dboot.o ./debug64/modstubs.o -L
    ../../intel/genunix/debug64 -l genunix \
    debug64/libdtracestubs.so
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    ops: value 0xfffffffffbc3c0d0 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    romp: value 0xfffffffffbc3cf60 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    _flt_fuword64: value 0xfffffffffb84f095 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    _flt_fuword32: value 0xfffffffffb84f0f3 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    _flt_fuword16: value 0xfffffffffb84f155 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    _flt_fuword8: value 0xfffffffffb84f1b3 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    _flt_suword64: value 0xfffffffffb84f212 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    _flt_suword32: value 0xfffffffffb84f271 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    _flt_suword16: value 0xfffffffffb84f2d2 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    _flt_suword8: value 0xfffffffffb84f332 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb8553fc does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    nopanicdebug: value 0xfffffffffbc08104 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858c66 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858d08 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858d34 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858dfe does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858c69 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858d0b does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858e01 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858c66 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858d08 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858dfe does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858d89 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858dd1 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858e86 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858e44 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858bfc does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858aca does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858b33 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858bb3 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    .text (section): value 0xfffffffffb858c14 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    _lfence_insn: value 0xfffffffffb858fc2 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    _lfence_insn: value 0xfffffffffb858fc2 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    _lfence_insn: value 0xfffffffffb858fc2 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    _lfence_insn: value 0xfffffffffb858fc2 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    workaround_6323525_patched: value 0xfffffffffbc05d88 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    workaround_6323525_patched: value 0xfffffffffbc05d88 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    kdi_cpusave: value 0xfffffffffbc66260 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    kdi_cpusave: value 0xfffffffffbc66260 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    kdi_nmemranges: value 0xfffffffffbc83af4 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    kdi_memranges: value 0xfffffffffbc453f0 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    psm_shutdownf: value 0xfffffffffbc02840 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    rm_platter_va: value 0xfffffffffbc031a0 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    rm_platter_pa: value 0xfffffffffbc3f6c8 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    kernel_cs_code: value 0xfffffffffb838258 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    bootops: value 0xfffffffffbc03190 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    x86_feature: value 0xfffffffffbc01280 does not fit
    ld: fatal: relocation error: R_AMD64_32: file ./debug64/unix.o: symbol
    boothowto: value 0xfffffffffbc547b4 does not fit




    _______________________________________________
    OSUNIX-dev mailing list
    OSUNIX-dev@lists.scsys.co.uk
    http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/osunix-dev

    --
    Regards,
    Piotr Jasiukajtis | estibi | SCA OS0072
    http://estseg.blogspot.com
  • Christopher Bergström at Jan 23, 2009 at 8:42 am

    Piotr Jasiukajtis wrote:
    I remember there were problems regarding closed bins when I built non
    debug onnv-gate...

    I would suggest to remove incremental nightly flag first to get things
    clean.
    I ran grep on the source to confirm that NIGHTLY_OPTIONS only has an
    affect when setting up the env. If you can make a diff against the env
    before and after setting that flag in nightly then I can see what's
    actually being passed to Makefile.master and friends.

    I was forcing the use of sun as and patching the assembly as I needed,
    but in both cases hit the same error with 105.. I've properly installed
    the bintuils 2.15 with sun patches now and going to see if I can get
    further with 107.. *fingers crossed*

    ./C

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouposunix-dev @
categoriesopensolaris
postedJan 22, '09 at 11:03p
activeJan 23, '09 at 8:42a
posts3
users2
websiteopensolaris.org

People

Translate

site design / logo © 2017 Grokbase