Project

General

Profile

Bug #6624

cmd/sgs/lddstub on sparc has issue

Added by Igor Kozhukhov over 4 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2016-02-07
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

i'm using gcc44 on sparc and have found by build only cmd/sgs/lddstub:

/export/home/igork/builds/igork/dilos-illumos.git/usr/src/cmd/sgs/lddstub/sparc
/usr/bin/as -xregsym=no -P -D_ASM   -D_TS_ERRNO  -I/ws/builds/igork/dilos-illumos.git/proto/root_sparc/usr/include      -o lddstub.o lddstub.s
/usr/bin/ld -o lddstub -ulink_ver_string -I'$ORIGIN/ld.so.1' -L/ws/builds/igork/dilos-illumos.git/usr/src/cmd/sgs/libconv/sparc -lconv -e stub  -m32 -Bdirect     -M/ws/builds/igork/dilos-illumos.git/usr/src/common/mapfiles/common/map.noexstk -M/ws/builds/igork/dilos-illumos.git/usr/src/common/mapfiles/common/map.pagealign  lddstub.o
                LINK EDITOR MEMORY MAP

output          input           virtual
section         section         address         size

.interp                            10114              10
                .interp            10114              10 (null)
.SUNW_sy                           10124              20
                .SUNW_sy           10124              00 (null)
.hash                              10144              44
                .hash              10144              44 (null)
.SUNW_ld                           10188              30
                .SUNW_ld           10188              30 (null)
.dynsym                            101b8              80
                .dynsym            101b8              80 (null)
.dynstr                            10238             259
                .dynstr            10238              59 (null)
.SUNW_dy                           10494              10
                .SUNW_dy           10494              10 (null)
.text                              104a4              10
                .text              104a4              10 lddstub.o
.rodata                            104b4              16
                .rodata            104b4              16 /ws/builds/igork/dilos-illumos.git/usr/src/cmd/sgs/libconv/sparc/libconv.a(vernote.o)
.dynamic                           22000              f0
                .dynamic           22000              f0 (null)
/usr/bin/rm -f /ws/builds/igork/dilos-illumos.git/proto/root_sparc/usr/lib/lddstub; install -s -m 0555 -f /ws/builds/igork/dilos-illumos.git/proto/root_sparc/usr/lib lddstub
/export/home/igork/builds/igork/dilos-illumos.git/usr/src/cmd/sgs/lddstub/sparcv9
/usr/bin/as -xregsym=no -P -D_ASM -D__sparcv9 -m64 -xarch=v9   -D_TS_ERRNO  -I/ws/builds/igork/dilos-illumos.git/proto/root_sparc/usr/include      -o lddstub.o lddstub.s
/usr/bin/ld -o lddstub -ulink_ver_string -I'$ORIGIN/ld.so.1' -L/ws/builds/igork/dilos-illumos.git/usr/src/cmd/sgs/libconv/sparcv9 -lconv -e stub  -m64 -Bdirect     -M/ws/builds/igork/dilos-illumos.git/usr/src/common/mapfiles/common/map.noexstk -M/ws/builds/igork/dilos-illumos.git/usr/src/common/mapfiles/common/map.pagealign  lddstub.o
                LINK EDITOR MEMORY MAP

output          input           virtual
section         section         address         size

.interp                         1000001c8             10
                .interp         1000001c8             10 (null)
.SUNW_sy                        1000001d8             20
                .SUNW_sy        1000001d8             00 (null)
.hash                           1000001f8             44
                .hash           1000001f8             44 (null)
.SUNW_ld                        100000240             48
                .SUNW_ld        100000240             48 (null)
.dynsym                         100000288             c0
                .dynsym         100000288             c0 (null)
.dynstr                         100000348            259
                .dynstr         100000348             59 (null)
.SUNW_dy                        1000005a8             10
                .SUNW_dy        1000005a8             10 (null)
.text                           1000005b8             10
                .text           1000005b8             10 lddstub.o
.rodata                         1000005c8             16
                .rodata         1000005c8             16 /ws/builds/igork/dilos-illumos.git/usr/src/cmd/sgs/libconv/sparcv9/libconv.a(vernote.o)
.dynamic                        100102000            1e0
                .dynamic        100102000            1e0 (null)
/usr/bin/rm -f /ws/builds/igork/dilos-illumos.git/proto/root_sparc/usr/lib/sparcv9/lddstub; install -s -m 0555 -f /ws/builds/igork/dilos-illumos.git/proto/root_sparc/usr/lib/sparcv9 lddstub

i don't know when it started to do it.

History

#1

Updated by Igor Kozhukhov over 4 years ago

  • Subject changed from cmd/sgs/lddsutub on sparc has issue to cmd/sgs/lddstub on sparc has issue
#2

Updated by Igor Kozhukhov over 4 years ago

  • Status changed from New to Rejected

related to DilOS env.
I have added [-m32/-m64] to LDFLAGS.
it is correct if GCC is using as LD, but they are flags incorrect for illumos LD.

Also available in: Atom PDF