Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264309 - fixlafiles.awk-no_gcc_la is not POSIX aware
Summary: fixlafiles.awk-no_gcc_la is not POSIX aware
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-30 16:06 UTC by Timothy Redaelli (RETIRED)
Modified: 2009-03-31 07:59 UTC (History)
0 users

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


Attachments
fixlafiles.awk-no_gcc_la.patch (fixlafiles.awk-no_gcc_la.patch,887 bytes, patch)
2009-03-30 21:11 UTC, Timothy Redaelli (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Redaelli (RETIRED) gentoo-dev 2009-03-30 16:06:02 UTC
sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la uses "echo -" that is not POSIX and does not works under dash as /bin/sh system.

I suggest to use the awk built-in printf as in files/awk/fixlafiles.awk or at least system("printf* istead of system("echo*
Comment 1 SpanKY gentoo-dev 2009-03-30 20:27:57 UTC
fixlafiles.awk has already been fixed ... can you check copying over those top funcs ?
Comment 2 Timothy Redaelli (RETIRED) gentoo-dev 2009-03-30 21:11:35 UTC
Created attachment 186803 [details, diff]
fixlafiles.awk-no_gcc_la.patch

taken from fixlafiles.awk
Comment 3 Timothy Redaelli (RETIRED) gentoo-dev 2009-03-30 21:11:45 UTC
It works :)
Comment 4 SpanKY gentoo-dev 2009-03-31 00:03:34 UTC
feel free to apply then, thanks
Comment 5 Timothy Redaelli (RETIRED) gentoo-dev 2009-03-31 07:59:08 UTC
Commited, thanks for ack