Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201006 - dev-libs/klibc: klcc doesn't work with the -s flag
Summary: dev-libs/klibc: klcc doesn't work with the -s flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-02 16:28 UTC by Michal Januszewski (RETIRED)
Modified: 2008-01-15 08:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
A patch to fix the reported issue. (klibc-1.5.7-klcc.patch,420 bytes, patch)
2007-12-03 00:23 UTC, Michal Januszewski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Januszewski (RETIRED) gentoo-dev 2007-12-02 16:28:29 UTC
If the -s flag is specified, but -o isn't, klcc returns a non-zero error code and displays: 
  /usr/bin/strip: '': No such file

This is caused by the $output variable being defined only then the -o is present.
A potential solution would be to give $output a default value of 'a.out'.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-12-02 22:47:25 UTC
attach a patch or ask upstream?
else i'll get to it when I get to it.
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2007-12-03 00:23:36 UTC
Created attachment 137586 [details, diff]
A patch to fix the reported issue.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-01-15 08:17:07 UTC
fixed in the tree.