rtai version 3.8.1-4 failed to build on armel

Bug #745881 reported by Steve Langasek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rtai (Debian)
Fix Released
Unknown
rtai (Ubuntu)
Triaged
Low
Unassigned
Oneiric
Won't Fix
Low
Unassigned

Bug Description

rtai version 3.8.1-2 failed to build on armel
Link to failed build: https://launchpad.net/ubuntu/+source/rtai/3.8.1-2/+buildjob/2008375

Direct link to the build log: https://launchpad.net/ubuntu/+source/rtai/3.8.1-2/+buildjob/2008375/+files/buildlog_ubuntu-natty-armel.rtai_3.8.1-2_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 1165 lines into the build log:

 arm-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../.. -g -I/build/buildd/rtai-3.8.1/debian/linux/include -Wall -Wstrict-prototypes -pipe -D__IN_RTAI__ -D_GNU_SOURCE -fno-inline -I../../../base/include -I../../include -MT init.lo -MD -MP -MF .deps/init.Tpo -c init.c -o init.o >/dev/null 2>&1
mv -f .deps/init.Tpo .deps/init.Plo
/bin/bash ../../../libtool --tag=CC --mode=compile arm-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../.. -g -I/build/buildd/rtai-3.8.1/debian/linux/include -Wall -Wstrict-prototypes -pipe -D__IN_RTAI__ -D_GNU_SOURCE -fno-inline -I../../../base/include -I../../include -MT services.lo -MD -MP -MF .deps/services.Tpo -c -o services.lo services.c
 arm-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../.. -g -I/build/buildd/rtai-3.8.1/debian/linux/include -Wall -Wstrict-prototypes -pipe -D__IN_RTAI__ -D_GNU_SOURCE -fno-inline -I../../../base/include -I../../include -MT services.lo -MD -MP -MF .deps/services.Tpo -c services.c -fPIC -DPIC -o .libs/services.o
In file included from ../../../base/include/asm/rtai.h:42:0,
                 from ../../../base/include/rtai.h:25,
                 from ../../../base/include/rtai_sched.h:22,
                 from ../../../base/include/rtai_lxrt.h:69,
                 from services.c:27:
../../../base/include/asm/rtai_hal.h:52:28: fatal error: linux/autoconf.h: No such file or directory
compilation terminated.
make[1]: *** [services.lo] Error 1
make[1]: Leaving directory `/build/buildd/rtai-3.8.1/base/sched/liblxrt'
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110325-1135
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/rtai-3.8.1

Steve Langasek (vorlon)
Changed in rtai (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Changed in rtai (Debian):
status: Unknown → New
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

From README.INSTALL:

Notice also that this release is for use with:
- i386,
- x86_64,
- PPC.

So it looks like upstream never supported ARM machines. None of previous Ubuntu releases provided ARM packages of rtai.

Marcin Juszkiewicz (hrw)
tags: added: thumb
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :
Download full text (3.2 KiB)

Attached patch gets build a bit further but then it fails due to not being Thumb ready:

 arm-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../.. -g -I/home/hrw/devel/porting-jam/rtai-3.8.1/debian/linux/include -Wall -Wstrict-prototypes -pipe -D__IN_RTAI__ -D_GNU_SOURCE -fno-inline -I../../../base/include -I../../include -MT services.lo -MD -MP -MF .deps/services.Tpo -c services.c -fPIC -DPIC -o .libs/services.o
In file included from ../../../base/include/asm/rtai.h:42:0,
                 from ../../../base/include/rtai.h:25,
                 from ../../../base/include/rtai_sched.h:22,
                 from ../../../base/include/rtai_lxrt.h:69,
                 from services.c:27:
../../../base/include/asm/rtai_hal.h:73:2: warning: #warning "by default, __LINUX_ARM_ARCH__ is setted to 4 in order to ensure compatibility with all other arm arch."
../../../base/include/asm/rtai_hal.h: In function '__rtai_generic_ulldiv':
../../../base/include/asm/rtai_hal.h:156:5: warning: implicit declaration of function 'do_div'
In file included from ../../../base/include/rtai_lxrt.h:579:0,
                 from services.c:27:
../../../base/include/asm/rtai_lxrt.h: In function '_rtai_lxrt':
../../../base/include/asm/rtai_lxrt.h:148:2: warning: #warning "RTAI_DO_SWI is not working yet. Please configure RTAI with --enable-lxrt-use-linux-syscall."
In file included from ../../../base/include/rtai_usi.h:26:0,
                 from ../../../base/include/rtai_tasklets.h:293,
                 from ../../../base/include/rtai_schedcore.h:39,
                 from services.c:29:
../../../base/include/asm/rtai_srq.h: In function 'rtai_srq':
../../../base/include/asm/rtai_srq.h:60:2: warning: #warning "RTAI_DO_SWI is not working yet. Please configure RTAI with --enable-lxrt-use-linux-syscall."
In file included from services.c:30:0:
../../../base/include/rtai_posix.h: In function 'internal_cond_cleanup':
../../../base/include/rtai_posix.h:1590:50: warning: value computed is not used
../../../base/include/rtai_posix.h: In function '__wrap_pthread_cond_wait':
../../../base/include/rtai_posix.h:1602:3: warning: value computed is not used
../../../base/include/rtai_posix.h: In function '__wrap_pthread_cond_timedwait':
../../../base/include/rtai_posix.h:1626:3: warning: value computed is not used
services.c: At top level:
../../../base/include/asm/rtai_hal.h:215:12: warning: '__rtai_generic_div96by32' is static but used in inline function '__rtai_generic_ullimd' which is not static
../../../base/include/asm/rtai_hal.h:178:12: warning: '__rtai_generic_ulldiv' is static but used in inline function '__rtai_generic_imuldiv' which is not static
{standard input}: Assembler messages:
{standard input}:8450: Error: instruction not allowed in IT block -- `str r5,[r7,#20]'
make[4]: *** [services.lo] Error 1
make[4]: Leaving directory `/home/hrw/devel/porting-jam/rtai-3.8.1/base/sched/liblxrt'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/hrw/devel/porting-jam/rtai-3.8.1/base/sched'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hrw/devel/porting-jam/rtai-3.8.1/base'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hrw/dev...

Read more...

tags: added: patch
tags: added: oneiric
Changed in rtai (Ubuntu):
milestone: none → oneiric-alpha-2
Changed in rtai (Ubuntu):
milestone: oneiric-alpha-2 → oneiric-alpha-3
Changed in rtai (Ubuntu Oneiric):
milestone: oneiric-alpha-3 → none
tags: added: universe
Changed in rtai (Debian):
status: New → Fix Released
Revision history for this message
Jani Monoses (jani) wrote :
summary: - rtai version 3.8.1-2 failed to build on armel
+ rtai version 3.8.1-4 failed to build on armel
tags: removed: patch
Revision history for this message
Rolf Leggewie (r0lf) wrote :

oneiric has seen the end of its life and is no longer receiving any updates. Marking the oneiric task for this ticket as "Won't Fix".

Changed in rtai (Ubuntu Oneiric):
status: Triaged → Won't Fix
Mattia Rizzolo (mapreri)
Changed in rtai (Debian):
status: Fix Released → Unknown
Changed in rtai (Debian):
status: Unknown → New
Changed in rtai (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.