[PATCH] Fix test-as-const-jmp_buf-ssp.c generation on gnu-i386
Samuel Thibault
samuel.thibault@gnu.org
Mon Dec 3 16:29:00 GMT 2018
H.J. Lu, le lun. 03 déc. 2018 08:17:23 -0800, a ecrit:
> On Mon, Dec 3, 2018 at 5:42 AM Samuel Thibault <samuel.thibault@gnu.org> wrote:
> >
> > Joseph Myers, le lun. 03 déc. 2018 13:23:48 +0000, a ecrit:
> > > On Sat, 1 Dec 2018, Samuel Thibault wrote:
> > >
> > > > 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
> > > >
> > > > * scripts/gen-as-const.py (main): Avoid emitting empty line when
> > > > there is no element in `consts'.
> > >
> > > OK, please commit.
> >
> > Done so, thanks.
>
> I still got
>
> /export/ssd/build/tools-build/glibc-many/src/glibc/csu/../sysdeps/i386/start.S:122:
> undefined reference to `main'
Yes, see my second mail in the same thread:
â
That said, it's not enough, gen_test() does not emit a main() function,
and thus the test build fails with missing reference to main(). Is there
a strong reason for making the emission of code lazy with the started
boolean?
â
which needs to be discussed too.
Samuel
More information about the Libc-alpha
mailing list