On 5/28/2015 10:30 AM, Sujay Raj wrote:
On i386/pc386, adding a line :

extern u_int64_t tsc_freq;

to freebsd/sys/contrib/altq/altq/altq_subr.c

gets it to build successfully. Though I wonder what its repercussions would be.

Does the variable have a value? I looked at it enough to think
that pc386/clock appeared to need to set it.

Alternatively, we could disable the x86 specific timebase
code and use the same as other targets. I kind of lean to
that if it is possible.
On Thu, May 28, 2015 at 8:43 PM, Joel Sherrill
<joel.sherr...@oarcorp.com> wrote:
Hi

I decided to attempt to build rtems-libbsd for all BSPs. I didn't
expect great results but 136 of 193 BSPs did not complete the build.

Overall, the results are surprising. No x86 or SPARC BSPs could
build rtems-libbsd. And many ARM and PowerPC BSPs had build issues
that were *NOT* running out of memory linking.

Apparently, a target has to have C++ and dlfcn.h or it is not attempted.

Some general failure patterns:

+ SPARC pci header
+ Missing bsp/irq-info.h
+ Missing libcpu/cache.h
+ Missing rtems_interrupt_server_initialize()
+ ohci_lpc.c:221:18: error: 'EIO' undeclared
+ x86 tsc_freq variable missing
+ powerpc: Unsupported CPU model

The full report is attached.

--
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherr...@oarcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

--
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherr...@oarcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to