Bug #219

xcc preconfig referencing non-existant uClibc config

Added by Hammel almost 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:22 Aug 2013
Priority:NormalDue date:
Assignee:Hammel% Done:

100%

Category:00 - Basic Build Issues
Target version:0.8.0
Severity:03 - Medium

Description

Output from xcc build:

###  2013-08-22 08:30:07 AM Running preconfig 
cp: cannot stat '/home/mjhammel/src/ximba/raspberrypi/src/src/xcc/uClibc.rpi': No such file or directory

This is a leftover from when PiBox was using uClibc, which it no longer does.

Associated revisions

Revision 4f290094
Added by Hammel over 3 years ago

RM #219: Removed references to uClibc from xcc build.

History

#1 Updated by Hammel over 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

Looking to see what this affects.

mjhammel(tty4)$ grep -i uclibc configs/*
configs/buildroot.cfg:BUILDROOT_URL      := http://buildroot.uclibc.org/downloads
configs/xcc.cfg:XCC_UCLIBC_CONFIG  := $(UC)
configs/xcc.cfg.rpi:# UC = uClibc configuration file
configs/xcc.cfg.rpi:UC = uClibc.$(HW)
configs/xcc.mk:# (Buildroot's xcc only builds for uClibc).
configs/xcc.mk:         cp $(DIR_XCC)/$(XCC_UCLIBC_CONFIG) $(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG); \
configs/xcc.mk.rpi.1.15.2:      @sed -i 's%\[UCLIBC_CONFIG\]%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%g' $(XCC_BLDDIR)/.config
configs/xcc.mk.rpi.1.15.2:      @sed -i 's%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%\[UCLIBC_CONFIG\]%g' $(XCC_CONFIG)
configs/xcc.mk.rpi.1.15.2:              ln -s ld-uClibc.so.0 ld-linux.so.2
configs/xcc.mk.rpi.1.18.0:      @sed -i 's%\[UCLIBC_CONFIG\]%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%g' $(XCC_BLDDIR)/.config
configs/xcc.mk.rpi.1.18.0:      @sed -i 's%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%\[UCLIBC_CONFIG\]%g' $(XCC_CONFIG)
configs/xcc.mk.rpi.1.19.0:      @sed -i 's%\[UCLIBC_CONFIG\]%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%g' $(XCC_BLDDIR)/.config
configs/xcc.mk.rpi.1.19.0:      @sed -i 's%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%\[UCLIBC_CONFIG\]%g' $(XCC_CONFIG)

mjhammel(tty4)$ grep UC configs/*
configs/xcc.cfg:XCC_UCLIBC_CONFIG  := $(UC)
configs/xcc.cfg:        @echo "UC            : $(UC)" 
configs/xcc.cfg.rpi:# UC = uClibc configuration file
configs/xcc.cfg.rpi:UC = uClibc.$(HW)
configs/xcc.mk:         cp $(DIR_XCC)/$(XCC_UCLIBC_CONFIG) $(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG); \
configs/xcc.mk.rpi.1.15.2:      @sed -i 's%\[UCLIBC_CONFIG\]%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%g' $(XCC_BLDDIR)/.config
configs/xcc.mk.rpi.1.15.2:      @sed -i 's%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%\[UCLIBC_CONFIG\]%g' $(XCC_CONFIG)
configs/xcc.mk.rpi.1.18.0:      @sed -i 's%\[UCLIBC_CONFIG\]%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%g' $(XCC_BLDDIR)/.config
configs/xcc.mk.rpi.1.18.0:      @sed -i 's%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%\[UCLIBC_CONFIG\]%g' $(XCC_CONFIG)
configs/xcc.mk.rpi.1.19.0:      @sed -i 's%\[UCLIBC_CONFIG\]%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%g' $(XCC_BLDDIR)/.config
configs/xcc.mk.rpi.1.19.0:      @sed -i 's%$(XCC_BLDDIR)/.$(XCC_UCLIBC_CONFIG)%\[UCLIBC_CONFIG\]%g' $(XCC_CONFIG)

mjhammel(tty4)$ grep UC src/xcc/*
grep: src/xcc/opkg: Is a directory
grep: src/xcc/patches: Is a directory
grep: src/xcc/tests: Is a directory

So it appears it was copying the uClibc config to the xcc bld dir and then trying to reference it in the xcc config. However there are no references to it ([UCLIBC_CONFIG]) in the current configs. So these can all be safely removed.

I'm in the middle of buildroot and kernel updates so I'll come back to this later.

#2 Updated by Hammel over 3 years ago

  • Target version changed from 1.0 - Atreides to 0.8.0

Moving to 0.8 release target.

#3 Updated by Hammel over 3 years ago

  • % Done changed from 50 to 60

xcc built kernel fine. Now building rootfs. Need to rebuild gles too.

After all are built they will be tested on the target. If that works, the xcc changes can be committed.

#4 Updated by Hammel over 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 60 to 100

Verified xcc builds all components just fine.

Changes pushed upstream.

Closing issue.

Also available in: Atom PDF