From: Patrick Ohly <patrick.ohly@intel.com>
To: Ross Burton <ross.burton@intel.com>,
Fathi Boudra <fathi.boudra@linaro.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] flex: upgrade to 2.6.2
Date: Thu, 19 Jan 2017 18:23:49 +0100 [thread overview]
Message-ID: <1484846629.23233.83.camel@intel.com> (raw)
In-Reply-To: <1483977580-11236-1-git-send-email-ross.burton@intel.com>
On Mon, 2017-01-09 at 15:59 +0000, Ross Burton wrote:
> Patches dropped as they are merged upstream:
> - CVE-2016-6354.patch
> - 0002-avoid-c-comments-in-c-code-fails-with-gcc-6.patch
> - do_not_create_pdf_doc.patch
>
> Apply a patch from github to simplify cross-compilation and not need a
> flex-native to bootstrap.
After rebasing my pending "UEFI/OVMF" patches I noticed that this
particular version update breaks compilation of acpica-native:
| obj/dtparserlex.o: In function `DtInitLexer':
| dtparserlex.c:(.text+0x10e7): undefined reference to `yy_scan_string'
| obj/prparserlex.o: In function `PrInitLexer':
| prparserlex.c:(.text+0x1327): undefined reference to `yy_scan_string'
| collect2: error: ld returned 1 exit status
| ../Makefile.rules:14: recipe for target 'obj/iasl' failed
| make[1]: *** [obj/iasl] Error 1
| make[1]: Leaving directory
'/fast/build/refkit/intel-corei7-64/tmp-glibc/work/x86_64-linux/acpica-native/20161222-r0/acpica-unix2-20161222/generate/unix/iasl'
| generate/unix/Makefile.common:25: recipe for target 'iasl' failed
| make: *** [iasl] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located
at /fast/build/refkit/intel-corei7-64/tmp-glibc/work/x86_64-linux/acpica-native/20161222-r0/temp/log.do_compile.32470)
That still occurs also after updating to the latest upstream acpica.
I searched for the error and found this about yy_scan_string:
In case anyone else is getting symbol is not defined or other
such errors when trying this: remember to include %option
reentrant in the lexer file.
http://stackoverflow.com/questions/1907847/how-to-use-yy-scan-string-in-lex?ref=driverlayer.com/web
I tried that and then just got different compile errors.
Perhaps someone with more knowledge about flex can provide some
guidance?
Fathi, is that something that you or upstream have come across?
Ross, would it be possible to revert this patch so that the UEFI patches
can be merged? Obviously the problem still needs to be resolved.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
next prev parent reply other threads:[~2017-01-19 17:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 15:59 [PATCH] flex: upgrade to 2.6.2 Ross Burton
2017-01-19 17:23 ` Patrick Ohly [this message]
2017-01-20 13:37 ` Patrick Ohly
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1484846629.23233.83.camel@intel.com \
--to=patrick.ohly@intel.com \
--cc=fathi.boudra@linaro.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross.burton@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox