FS#43056 - [flex] ltp doesn't compile using the latest versions of gcc and flex

Attached to Project: Arch Linux
Opened by Viorel-Cătălin Răpițeanu (Ravior) - Tuesday, 09 December 2014, 16:53 GMT
Last edited by Allan McRae (Allan) - Wednesday, 12 August 2015, 06:42 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The compilation 'LTP' (Linux Test Project) suite using an up-to-date ArchLinux x64 will fail with an 'yylex' error.

Additional info:
* package version(s): gcc - 4.9.2; flex - 2.5.39

Steps to reproduce:
1. Clone of LTP using git
# git clone https://github.com/linux-test-project/ltp.git
2. Configure and compile the LTP
# cd /path/to/ltp
# make autotools
# ./configure
# make

Possible cause:
An incompatibility for the way flex was compiled with gcc 4.9.0+.
This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 12 August 2015, 06:42 GMT
Reason for closing:  None
Additional comments about closing:  Fixed in ltp
Comment by Allan McRae (Allan) - Tuesday, 09 December 2014, 19:42 GMT Comment by Allan McRae (Allan) - Tuesday, 09 December 2014, 19:43 GMT
Although, it looks like a patch was submitted to ltp to fix this:
http://lists.openembedded.org/pipermail/openembedded-core/2014-March/090435.html

Loading...