Skip to contentSkip to conversation

New: make install problem with unstripped binaries

Buildroot bugzilla at busybox.net 1 participant 5 messages Nov 10, 2009 – Nov 22, 2009

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=701

Summary: make install problem with unstripped binaries
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: trivial
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: llandwerlin at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Hi,

when BR2_STRIP_none=y, I get this error :

Quoted 1 line
Quoted 1 line
Quoted 1 line

libglib2 2.20.5 Installing to target

/usr/bin/make -j1 DESTDIR=/home/users/llandwer/local/src/buildroot/output/target install-strip -C /home/users/llandwer/local/src/buildroot/output/build/libglib2-2.20.5/ make[1]: Entering directory `/local/src/buildroot/output/build/libglib2-2.20.5' /usr/bin/make INSTALL_PROGRAM="/bin/sh /home/users/llandwer/local/src/buildroot/output/build/libglib2-2.20.5/install-sh -c -s" \
install_sh_PROGRAM="/bin/sh
/home/users/llandwer/local/src/buildroot/output/build/libglib2-2.20.5/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
`test -z 'true -Not_stripping' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG=true -Not_stripping"` install
/usr/bin/make: invalid option -- N
Usage: make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY

I'm currently trying to fix it with the attached patch.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 701] make install problem with unstripped binaries

https://bugs.busybox.net/show_bug.cgi?id=701

--- Comment #1 from Lionel Landwerlin <[email protected]> 2009-11-10 17:09:51 UTC --- Created an attachment (id=727)
--> (https://bugs.busybox.net/attachment.cgi?id=727)
no strip fix

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 701] make install problem with unstripped binaries

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=701

--- Comment #2 from Lionel Landwerlin <[email protected]> 2009-11-10 17:10:46 UTC --- Created an attachment (id=729)
--> (https://bugs.busybox.net/attachment.cgi?id=729)
related buildroot config

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 701] make install problem with unstripped binaries

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=701

--- Comment #3 from Lionel Landwerlin <[email protected]> 2009-11-10 17:33:07 UTC --- Well... my fix just does not work.

but replacing

TARGET_STRIP=true -Not_stripping

by

TARGET_STRIP=true Not_stripping

seems to fix the problem.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 701] make install problem with unstripped binaries

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=701

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Peter Korsgaard <[email protected]> 2009-11-22 19:48:39 UTC --- (In reply to comment #0)

Quoted 3 lines

Hi,

when BR2_STRIP_none=y, I get this error :

It would normally make sense to enable BR2_ENABLE_DEBUG (build packages with debugging symbols) if you want unstripped binaries. If that is done, then libglib2 will use the make install-exec target instead, which doesn't call strip.

But ok, if shouldn't break anyway, so I'll fix the 'true' argument in git - Thanks.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.