Ticket #1089 (closed task: fixed)

Opened 22 months ago

Last modified 4 months ago

Flex 2.6.4

Reported by: chris@… Owned by: clfs-commits@…
Priority: major Milestone: CLFS Standard 3.1.0
Component: BOOK Version: CLFS Standard GIT
Keywords: Cc: berzerkula@…, jonathan@…, chris@…, cross-lfs@…

Description (last modified by kb0iic) (diff)

New Version

Download  https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz

  • Update url location in XML
  • Now requires Bison to build.
    1. Swap the build order of Bison and Flex in the final-system
      • Will be test suite failures for Bison due to the absence of Flex
    2. Add Bison to /tools
      • Flex doesn't appear to store the location for the Bison executable in its installed files so there shouldn't be any problems.

For Ch 6 Option of installing Bison:

  • Unsure if we'll need 32-bit and 64-bit for multilib
    ./configure \
        --prefix=/tools \
        --build=${CLFS_HOST} \
    make install

For Ch 10

  • Check if M4=m4 is required in Ch 10 when installing Bison during Ch 6
  • Use the following instead of a wrapper script:
    ln -sv flex /usr/bin/lex

Change History

comment:1 Changed 22 months ago by chris@…

I've tried putting Bison into /tools - Flex still failed. I think it needs libraries from Bison, so the best solution would still be to swap Flex and Bison in the final-system, and add a note to the Bison page that some tests will fail due to Flex's absence.

comment:2 Changed 21 months ago by blackadder

I put Bison into /tools and then built Flex with no problems and passed all it's tests, this is with a GCC-5.3.0 toolchain. However previously it didn't work on many tries before when building GCC snapshots this way. My suspect is/was a library linking problem with libstdc++, I've been removing .la files from the build as i go with redundant static libs and seems to be cleaner.

comment:3 Changed 5 months ago by kb0iic

  • Milestone set to CLFS Standard 3.1.0
  • Version set to CLFS Standard GIT
  • Summary changed from Flex 2.6.0 to Flex 2.6.3

comment:4 Changed 5 months ago by kb0iic

  • Description modified (diff)

comment:5 Changed 5 months ago by kb0iic

  • Description modified (diff)

comment:6 Changed 4 months ago by kb0iic

  • Description modified (diff)
  • Summary changed from Flex 2.6.3 to Flex 2.6.4

comment:7 Changed 4 months ago by kb0iic

  • Priority changed from minor to major

comment:8 Changed 4 months ago by kb0iic

  • Description modified (diff)

comment:10 Changed 4 months ago by kb0iic

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.