Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 13 Feb 2017 03:26:07 +0100
From: "Romain" <>
To: <>
Subject: disappear after gcc install


I try to create  a script to cross-build a small linux based on musl.

Basically I first create my cross toolchain in 3 steps

1 – Build static gcc (first pass)
2 – Build musl
3 – Build dynamic gcc (second pass)

When I build musl, I can find the loader this is a link to
But when I do the second pass of gcc the is removed at the
gcc “make install”

I create a watch with “audit” to see what process remove the file, and it
seem that /sbin/ldconfig.real remove the loader, I don’t understand why.
(I fix this by creating my own link, and I can start my target, but I don’t
understand what append)

My host :
Ubuntu 16.04
Arch : x86_64
Kernel : 4.4.0
Gcc : 5.4 (x86_64-linux-gnu-gcc)

My Cross/Target :
Arch : x86
Kernel : 4.9.7
Gcc : 6.3.0 (i486-linux-musl-gcc)
Musl : 1.1.16

Can you help  me to understand why the linker is removed
by /sbin/ldconfig.real, and how to avoid this ?

Thanks in advance

PS : Sorry for my bad English language

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.