It looks like I am on the most recent commit to master.

zach@zach-HP-Z420-Workstation:~/Akaros/akaros$ git status
On branch master
Your branch is up-to-date with 'origin/master'.

I the process of doing the checks you suggested I discovered the problem:

I don't know how it happened but in my install directory I have two 
directories.
zach@zach-HP-Z420-Workstation:~$ ls ~/install/
x86_64-ucb-akaros  x86_64-ucb-akaros-gcc

x86_64-ucb-akaros/ contains only the sysroot directory and the following 
files inside /sysroot/usr/include:
find /home/zach/install/x86_64-ucb-akaros/sysroot/usr/include

/home/zach/install/x86_64-ucb-akaros/sysroot/usr/include
/home/zach/install/x86_64-ucb-akaros/sysroot/usr/include/libelf.h
/home/zach/install/x86_64-ucb-akaros/sysroot/usr/include/nlist.h
/home/zach/install/x86_64-ucb-akaros/sysroot/usr/include/gelf.h
/home/zach/install/x86_64-ucb-akaros/sysroot/usr/include/elfutils
/home/zach/install/x86_64-ucb-akaros/sysroot/usr/include/elfutils/known-dwarf.h
/home/zach/install/x86_64-ucb-akaros/sysroot/usr/include/elfutils/elf-knowledge.h
/home/zach/install/x86_64-ucb-akaros/sysroot/usr/include/elfutils/libdwelf.h
/home/zach/install/x86_64-ucb-akaros/sysroot/usr/include/elfutils/libdwfl.h
/home/zach/install/x86_64-ucb-akaros/sysroot/usr/include/elfutils/libebl.h
/home/zach/install/x86_64-ucb-akaros/sysroot/usr/include/elfutils/libdw.h
/home/zach/install/x86_64-ucb-akaros/sysroot/usr/include/elfutils/version.h
/home/zach/install/x86_64-ucb-akaros/sysroot/usr/include/elfutils/libasm.h
/home/zach/install/x86_64-ucb-akaros/sysroot/usr/include/dwarf.h

These are the files I am missing.

The other directory  x86_64-ucb-akaros-gcc/ contains the rest of the files, 
but does not have the ones that are in the first directory.

I think somehow the makefile of elfutils did not point to the correct 
directory ( i.e. it was pointing to ~/install/ instead of 
~/install/x86_64-ucb-akaros-gcc, which caused make to place the contents in 
another directory ~/install/x86_64-ucb-akaros/

I am not sure if this is something I caused or a bug in the build process.

By merging ~/install/x86_64-ucb-akaros/ and 
~/install/x86_64-ucb-akaros-gcc/x86_64-ucb-akaros/ everything works.

Zach

On Thursday, February 23, 2017 at 2:57:32 PM UTC-8, Barret Rhoden wrote:
>
> On 2017-02-23 at 14:44 Zach Zimmerman <[email protected] <javascript:>> 
> wrote: 
> > Am I doing any of these steps incorrectly? 
>
> That looks right. 
>
> Which commit are you on?  There might be an older commit that didn't 
> make elfutils and perf in the right order.  If you're running anything 
> recent, we can try some other things: 
>
> Can you post the output of make apps-install?  It'll be a lot, but in 
> there, we should see something for elfutils.  You should have something 
> like: 
>
>  /usr/bin/install -c -m 644 version.h 
> '/home/brho/akaros/ros-gcc-glibc/install-x86_64-ros-gcc/x86_64-ucb-akaros/sysroot//usr/include/elfutils'
>  
>
>
> Then we should see some stuff in there: 
> $ ls -l 
> /home/brho/akaros/ros-gcc-glibc/install-x86_64-ros-gcc/x86_64-ucb-akaros/sysroot//usr/include/elfutils
>  
>
> total 160 
> -rw-r--r-- 1 brho eng  4249 Feb 23 17:51 elf-knowledge.h 
> -rw-r--r-- 1 brho eng 33666 Feb 23 17:51 known-dwarf.h 
> -rw-r--r-- 1 brho eng  7094 Feb 23 17:51 libasm.h 
> -rw-r--r-- 1 brho eng  2811 Feb 23 17:51 libdwelf.h 
> -rw-r--r-- 1 brho eng 38305 Feb 23 17:51 libdwfl.h 
> -rw-r--r-- 1 brho eng 39922 Feb 23 17:51 libdw.h 
> -rw-r--r-- 1 brho eng 18981 Feb 23 17:51 libebl.h 
> -rw-r--r-- 1 brho eng  1274 Feb 23 17:51 version.h 
>
>
> And importantly, we should see gelf.h in the sysroot's usr/include: 
>
> $ find $AKAROS_XCC_ROOT -name gelf.h 
> /home/brho/akaros/ros-gcc-glibc/install-x86_64-ros-gcc/x86_64-ucb-akaros/sysroot/usr/include/gelf.h
>  
>
>
>
> Barret 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to