Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#30 closed task (fixed)

sparc64 native glibc build breakage

Reported by: Ryan Oliver Owned by: clfs-commits@…
Priority: major Milestone: CLFS Standard 1.0.0
Component: BOOK Version: CLFS Standard 1.0.0
Keywords: Cc:

Description

Error

gcc -mcpu=ultrasparc -mtune=ultrasparc -mvis -save-temps -m64   -pie -Wl,-O1 -DIS_IN_nscd=1 -D_FORTIFY_SOURCE=2 -fpie -fstack-protector \
           -Wl,-dynamic-linker=/lib/ld-linux.so.2 -Wl,-z,relro -Wl,-z,now \
           -B/usr/src/glibc-64bit/csu/ \
            \
            \
          -L/usr/src/glibc-64bit -L/usr/src/glibc-64bit/math -L/usr/src/glibc-64bit/elf -L/usr/src/glibc-64bit/dlfcn -L/usr/src/glibc-64bit/nss -L/usr/src/glibc-64bit/nis -L/usr/src/glibc-64bit/rt -L/usr/src/glibc-64bit/resolv -L/usr/src/glibc-64bit/crypt -L/usr/src/glibc-64bit/nptl -Wl,-rpath-link=/usr/src/glibc-64bit:/usr/src/glibc-64bit/math:/usr/src/glibc-64bit/elf:/usr/src/glibc-64bit/dlfcn:/usr/src/glibc-64bit/nss:/usr/src/glibc-64bit/nis:/usr/src/glibc-64bit/rt:/usr/src/glibc-64bit/resolv:/usr/src/glibc-64bit/crypt:/usr/src/glibc-64bit/nptl \
          -o /usr/src/glibc-64bit/nscd/nscd /usr/src/glibc-64bit/nscd/nscd.o /usr/src/glibc-64bit/nscd/connections.o /usr/src/glibc-64bit/nscd/pwdcache.o /usr/src/glibc-64bit/nscd/getpwnam_r.o /usr/src/glibc-64bit/nscd/getpwuid_r.o /usr/src/glibc-64bit/nscd/grpcache.o /usr/src/glibc-64bit/nscd/getgrnam_r.o /usr/src/glibc-64bit/nscd/getgrgid_r.o /usr/src/glibc-64bit/nscd/hstcache.o /usr/src/glibc-64bit/nscd/gethstbyad_r.o /usr/src/glibc-64bit/nscd/gethstbynm2_r.o /usr/src/glibc-64bit/nscd/dbg_log.o /usr/src/glibc-64bit/nscd/nscd_conf.o /usr/src/glibc-64bit/nscd/nscd_stat.o /usr/src/glibc-64bit/nscd/cache.o /usr/src/glibc-64bit/nscd/mem.o /usr/src/glibc-64bit/nscd/nscd_setup_thread.o /usr/src/glibc-64bit/nscd/xmalloc.o /usr/src/glibc-64bit/nscd/xstrdup.o /usr/src/glibc-64bit/nscd/aicache.o /usr/src/glibc-64bit/nscd/initgrcache.o /usr/src/glibc-64bit/nscd/gai.o /usr/src/glibc-64bit/rt/librt.so /usr/src/glibc-64bit/nptl/libpthread_nonshared.a /usr/src/glibc-64bit/nptl/libpthread.so /usr/src/glibc-64bit/nis/libnsl.so  /usr/src/glibc-64bit/libc_nonshared.a
/tools/lib/gcc/sparc64-unknown-linux-gnu/4.1.0/../../../../sparc64-unknown-linux-gnu/bin/ld: Register %g7 used incompatibly: #scratch in /usr/src/glibc-64bit/nscd/dbg_log.o, previously __thread_self in /usr/src/glibc-64bit/nscd/nscd.o
/usr/src/glibc-64bit/nscd/dbg_log.o: could not read symbols: File format not recognized
collect2: ld returned 1 exit status 

Attachments (1)

gcc-4.1.0-sparc_ignore_tls_reg.patch (615 bytes) - added by Ryan Oliver 13 years ago.
Dredged out of the Fedora Core 5 SRPM gcc-4.1.0-20060304.tar.bz2.

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by Ryan Oliver

Dredged out of the Fedora Core 5 SRPM gcc-4.1.0-20060304.tar.bz2.

comment:1 Changed 13 years ago by Ryan Oliver

Changelog entry for above patch

2006-02-02  Jakub Jelinek  <jakub@redhat.com>

       * config/sparc/sparc.c (sparc_output_scratch_registers): Use
       #ignore instead of #scratch for %g7 .register directive.

comment:2 Changed 13 years ago by Joe Ciccone

I tested this patch on a sparc pure64 build. It fixes the issue.

comment:3 Changed 13 years ago by Jim Gifford

Resolution: fixed
Status: newclosed

Fixed with Changeset 1503

comment:4 Changed 13 years ago by Jim Gifford

Milestone: CLFS 1.0

comment:5 Changed 13 years ago by Jim Gifford

Version: unstable1.0.0
Note: See TracTickets for help on using tickets.