Ticket #123 (closed enhancement: fixed)

Opened 11 years ago

Last modified 9 years ago

PPC: Textual blur in 10.7.4 (32bit) and 10.8.4 (Multilib) (Cfg dynlinker)

Reported by: Moody Owned by: jciccone
Priority: minor Milestone: CLFS Standard 1.1.0
Component: BOOK Version: CLFS Standard 1.1.0
Keywords: Cc:

Description (last modified by kb0iic) (diff)

In chapter 10.7.4 of 32 bit powerpc book and chapter 10.8.4 of ppc64 multilib book (Configuring the dynamic linker) there is /lib/ld-linux.so.2 named as default linker, mostly true but not on PPC systems. There it should read as /lib/ld.so.1 and/or /lib64/ld64.so.

Change History

comment:1 Changed 11 years ago by jciccone

  • Version set to CLFS Standard 1.1.0
  • Milestone set to CLFS Standard 1.1.0

comment:2 Changed 10 years ago by ken

  • Owner changed from clfs-commits@… to ken
  • Status changed from new to assigned

This sounds as if it might affect other arches too. I'll take a look.

comment:3 Changed 10 years ago by jciccone

Sparc64 and Sparcv9 use ld-linux.so.2. Alpha uses ld-linux.so.2 x86 uses ld-linux.so.2 x86_64 uses ld-linux-x86-64.so.2

comment:4 Changed 10 years ago by jciccone

This has gone a while without any changes, what's the status of it?

comment:5 in reply to: ↑ description ; follow-up: ↓ 6 Changed 10 years ago by kb0iic

  • Description modified (diff)

Replying to Moody:

In chapter 10.7.4 (Configuring the dynamic linker) there is /lib/ld-linux.so.2 named as default linker, mostly true but not on PPC systems. There it should read as /lib/ld.so.1, isn't it?

comment:6 in reply to: ↑ 5 Changed 10 years ago by kb0iic

  • Description modified (diff)
  • Summary changed from PPC: Textual blur in 10.7.4 (Cfg dynlinker) to PPC: Textual blur in 10.7.4 (32bit) and 10.8.4 (Multilib) (Cfg dynlinker)

Replying to kb0iic:

Replying to Moody:

In chapter 10.7.4 (Configuring the dynamic linker) there is /lib/ld-linux.so.2 named as default linker, mostly true but not on PPC systems. There it should read as /lib/ld.so.1, isn't it?

This section no longer exists and I don't see anywhere in the book where it talks about default linker. It is now in section 10.8.4. I confirm ld.so.1 for this ppc and ppc64, and no other architecture. If anyone else has no objections, the book text should read:

By default, the 32bit dynamic loader (/lib/ld.so.1) searches through /lib, /usr/lib, and the 64bit dynamic loader (/lib64/ld64.so.1) searches through /lib64, /usr/lib64 for dynamic libraries that are needed by programs as they are run. However, if there are libraries in directories other than these, they need to be added to the /etc/ld.so.conf file in order for the dynamic loader to find them. Some directories that are commonly known to contain additional libraries are /usr/local/lib, /usr/local/lib64, /opt/lib, and /opt/lib64, so add those directories to the dynamic loader's search path.

Someone else may suggest a better structure for the entry in the book, but that is the proper way it should read for ppc64 multilib. As it is now seems pretty correct for ppc except ld-linux.so.2 should read ld.so.1 for the default linker.

comment:7 Changed 10 years ago by jciccone

  • Status changed from assigned to new
  • Owner changed from ken to jciccone

The ldso names on the following archs are:

x86ld-linux.so.2
x86_64ld-linux-x86-64.so.2
x86_64-64ld-linux-x86-64.so.2
ppcld.so.1
ppc64ld64.so
sparcld-linux.so.2
sparc64ld-linux.so.2
sparc64-64ld-linux.so.2
alphald-linux.so.2
mipsld.so.1
mips64ld.so.1
mips64-64ld.so.1

Reassigning this to myself to update right now

comment:8 Changed 10 years ago by jciccone

  • Status changed from new to closed
  • Resolution set to fixed

fixed in r3981

Note: See TracTickets for help on using tickets.