Menu

#1 fix build errors on Fedora 17 x86_64

Unstable (example)
open
None
5
2013-09-30
2012-06-01
No

This patch allows building of the Torc test and example executables on Fedora 17 x86_64 with gcc 4.7.0-5.

Discussion

  • Ali Sohanghpurwala

     
  • Neil Steiner

    Neil Steiner - 2012-07-23

    Ali, thanks for contributing the patch. I must say that these changes are rather peculiar. The torc/bitstream/FrameSet.hpp issue must necessarily come from the compiler, but I don't see why gcc would be unhappy since the FrameSet *is* a vector. Can you tell me what the error message is?

    As for the -lm, I'm not aware that any Torc code requires the math library. Could you make each of the following individually, and let me know which ones need -lm?

    make architecture_example
    make bitstream_example
    make edif_example
    make edif_obfuscator
    make generic_example
    make physical_example
    make browser

    Note that we do not currently test Torc on Fedora, and the adoption process would entail setting up a VM with OS and GCC to run the unit tests and regression tests. (We test on Ubuntu 10.04.2 LTS, CentOS 5.6, Windows 7 with Cygwin, and OS X Server 10.6 at present.)

     
  • Ali Sohanghpurwala

    Hey Neil,

    I actually replaced the F17 install on my laptop last week with Ubuntu 12.04LTS, so I don't have a testbench for this at the moment.

    I don't remember exactly what the GCC error message was, but I do remember that it explicitly told me to try use "this->" to reference push_back.

    Same with the ld error, I don't remember which piece it was.

    I might load up an F17 VM to investigate this further, but it will be a while before GCC 4.7 shows up in any of your supported distros so maybe it's not a big deal for now.

     
  • Neil Steiner

    Neil Steiner - 2013-03-05

    Hi Ali,

    Given that you seem to have Fedora working again, could you please tell me what compiler and linker errors you get in the absence of the patch?

    Neil

     
  • Nobody/Anonymous

    Hey Neil,

    I actually don't have a functional Fedora machine at the moment, but I can fire up a VM to test the TORC build. Should I test the tag or trunk?

    Ali

     
  • Neil Steiner

    Neil Steiner - 2013-09-30
    • assigned_to: Andrew Schmidt
    • Group: --> Unstable (example)
     

Log in to post a comment.