Project

General

Profile

Actions

Bug #219

closed

xcc preconfig referencing non-existant uClibc config

Added by Hammel over 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
00 - Basic Build Issues
Target version:
Start date:
22 Aug 2013
Due date:
% Done:

100%

Estimated time:
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.

Actions #1

Updated by Hammel almost 11 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.

Actions #2

Updated by Hammel almost 11 years ago

  • Target version changed from 1.0 - Atreides to 0.8.0

Moving to 0.8 release target.

Actions #3

Updated by Hammel almost 11 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.

Actions #4

Updated by Hammel almost 11 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.

Actions

Also available in: Atom PDF