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.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.)
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.
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
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