Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2019 11:44:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 235293] GCC MIPS cross-compiler build fails due to BSD sed
Message-ID:  <bug-235293-227-0fUiuM6MMV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235293-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235293-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235293

--- Comment #2 from sebastian.huber@embedded-brains.de ---
In the referenced GCC file, the sed expression is constructed in several st=
eps,
one input is

hardfp_float_modes :=3D sf df

which is transformed via

hardfp_mode_regexp :=3D $(shell echo $(hardfp_float_modes) | sed 's/ /\\|/g=
')

which is used in

hardfp_defines_for =3D \
   $(shell echo $1 | \
     sed
's/\(.*\)\($(hardfp_mode_regexp)\)\($(hardfp_suffix_regexp)\|\)$$/-DFUNC=3D=
__&
-DOP_\1\3 -DTYPE=3D\2/')

So, it is difficult to use another regex.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235293-227-0fUiuM6MMV>