Issue 10 in i9os: L4Ka::Pistachio doesn't compile with Sun Studio Express 3/09

4 views
Skip to first unread message

codesite...@google.com

unread,
Apr 18, 2009, 8:18:59 PM4/18/09
to i9-operat...@googlegroups.com
Status: Accepted
Owner: tyson.key
Labels: Type-Enhancement Maintainability Priority-Low Experimental
Sun_Studio

New issue 10 by tyson.key: L4Ka::Pistachio doesn't compile with Sun Studio
Express 3/09
http://code.google.com/p/i9os/issues/detail?id=10

What steps will reproduce the problem?
1. Change to BuildMk directory
2. Invoke the build system with "CC=/opt/sun/sunstudioceres/bin/sunCC make"
3. Wait and see what happens

What is the expected output?
Ideally, it should build.

What do you see instead?
[tyson@nagasaki BuildMk]$ CC=/opt/sun/sunstudioceres/bin/sunCC make
sunCC: Warning: Option -print-libgcc-file-name passed to ld, if ld is
invoked, ignored otherwise
Usage: sunCC [ options ] files. Use 'sunCC -flags' for details

sunCC: Warning: Option - passed to ld, if ld is invoked, ignored otherwise

Usage: sunCC [ options ] files. Use 'sunCC -flags' for details

sunCC: Warning: Option - passed to ld, if ld is invoked, ignored otherwise

Usage: sunCC [ options ] files. Use 'sunCC -flags' for details

make[1]: Entering directory `/home/tyson/i9os/BuildMk'

===> src/glue/v4-x86/asmsyms.cc

cd src/glue/v4-x86/ && /opt/sun/sunstudioceres/bin/sunCC -nostdinc
-I/home/tyson/i9os/BuildMk/include
-I/home/tyson/i9os/Microkernel/kernel/src
-I/home/tyson/i9os/Microkernel/kernel/src/generic -I/usr/include -Ux32
-Ux86 -Up4 -Upc99 -Uv4 -D__SUBARCH__=x32 -D__ARCH__=x86 -D__CPU__=p4
-D__PLATFORM__=pc99 -D__API__=v4 -imacros
/home/tyson/i9os/BuildMk/config/config.h -imacros
/home/tyson/i9os/Microkernel/kernel/src/generic/macros.h -include
/home/tyson/i9os/Microkernel/kernel/src/generic/config.h -include
/home/tyson/i9os/Microkernel/kernel/src/generic/types.h -fno-rtti
-fno-builtin -fomit-frame-pointer -fno-exceptions -Wall
-Wno-non-virtual-dtor -Wno-format -Wconversion -O2
-mpreferred-stack-boundary=2 -march=pentium4 -c
/home/tyson/i9os/Microkernel/kernel/src/glue/v4-x86/asmsyms.cc


sunCC: Warning: Option -nostdinc passed to ld, if ld is invoked, ignored
otherwise

sunCC: Warning: Option -imacros passed to ld, if ld is invoked, ignored
otherwise

sunCC: Warning: Option -imacros passed to ld, if ld is invoked, ignored
otherwise

sunCC: Warning: Option -fno-rtti passed to ld, if ld is invoked, ignored
otherwise

sunCC: Warning: Option -fno-builtin passed to ld, if ld is invoked, ignored
otherwise
sunCC: Warning: Option -fomit-frame-pointer passed to ld, if ld is invoked,
ignored otherwise
sunCC: Warning: Option -fno-exceptions passed to ld, if ld is invoked,
ignored otherwise

sunCC: Warning: Option -Wall passed to ld, if ld is invoked, ignored
otherwise

sunCC: Warning: Option -Wno-non-virtual-dtor passed to ld, if ld is
invoked, ignored otherwise

sunCC: Warning: Option -Wno-format passed to ld, if ld is invoked, ignored
otherwise
sunCC: Warning: Option -Wconversion passed to ld, if ld is invoked, ignored
otherwise
sunCC: Warning: Option -mpreferred-stack-boundary=2 passed to ld, if ld is
invoked, ignored otherwise
sunCC: Warning: Option -march=pentium4 passed to ld, if ld is invoked,
ignored otherwise

sunCC: Invalid input file name /home/tyson/i9os/BuildMk/config/config.h, no
output generated for this file.
sunCC: Invalid input file name
/home/tyson/i9os/Microkernel/kernel/src/generic/macros.h, no output
generated for this file.
"/home/tyson/i9os/Microkernel/kernel/src/generic/config.h", line 37: Error:
Badly formed include file name.
"/home/tyson/i9os/Microkernel/kernel/src/generic/config.h", line 37: Error:
There is extra text on this line.
"/home/tyson/i9os/Microkernel/kernel/src/generic/config.h", line 38: Error:
Badly formed include file name.
"/home/tyson/i9os/Microkernel/kernel/src/generic/config.h", line 38: Error:
There is extra text on this line.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 38: Error:
Badly formed include file name.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 38: Error:
There is extra text on this line.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 62: Error:
word_t is not defined.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 72: Error:
INLINE is not defined.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 72: Error:
Multiple declaration for addr_t.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 72: Error:
"," expected instead of "addr_offset".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 75: Error:
A declaration was expected instead of "}".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 84: Error:
INLINE is not defined.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 84: Error:
Multiple declaration for addr_t.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 84: Error:
"," expected instead of "addr_offset".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 87: Error:
A declaration was expected instead of "}".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 95: Error:
INLINE is not defined.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 95: Error:
Multiple declaration for addr_t.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 95: Error:
"," expected instead of "addr_mask".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 98: Error:
A declaration was expected instead of "}".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 106: Error:
INLINE is not defined.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 106: Error:
Multiple declaration for addr_t.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 106: Error:
"," expected instead of "addr_align".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 109: Error:
A declaration was expected instead of "}".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 117: Error:
INLINE is not defined.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 117: Error:
Multiple declaration for addr_t.
Compilation aborted, too many Error messages.

===> src/glue/v4-x86/x32/init.cc

cd src/glue/v4-x86/x32/ && /opt/sun/sunstudioceres/bin/sunCC -nostdinc
-I/home/tyson/i9os/BuildMk/include
-I/home/tyson/i9os/Microkernel/kernel/src
-I/home/tyson/i9os/Microkernel/kernel/src/generic -I/usr/include -Ux32
-Ux86 -Up4 -Upc99 -Uv4 -D__SUBARCH__=x32 -D__ARCH__=x86 -D__CPU__=p4
-D__PLATFORM__=pc99 -D__API__=v4 -imacros
/home/tyson/i9os/BuildMk/config/config.h -imacros
/home/tyson/i9os/Microkernel/kernel/src/generic/macros.h -include
/home/tyson/i9os/Microkernel/kernel/src/generic/config.h -include
/home/tyson/i9os/Microkernel/kernel/src/generic/types.h -fno-rtti
-fno-builtin -fomit-frame-pointer -fno-exceptions -Wall
-Wno-non-virtual-dtor -Wno-format -Wconversion -O2
-mpreferred-stack-boundary=2 -march=pentium4 -c
/home/tyson/i9os/Microkernel/kernel/src/glue/v4-x86/x32/init.cc


sunCC: Warning: Option -nostdinc passed to ld, if ld is invoked, ignored
otherwise

sunCC: Warning: Option -imacros passed to ld, if ld is invoked, ignored
otherwise

sunCC: Warning: Option -imacros passed to ld, if ld is invoked, ignored
otherwise

sunCC: Warning: Option -fno-rtti passed to ld, if ld is invoked, ignored
otherwise

sunCC: Warning: Option -fno-builtin passed to ld, if ld is invoked, ignored
otherwise
sunCC: Warning: Option -fomit-frame-pointer passed to ld, if ld is invoked,
ignored otherwise
sunCC: Warning: Option -fno-exceptions passed to ld, if ld is invoked,
ignored otherwise

sunCC: Warning: Option -Wall passed to ld, if ld is invoked, ignored
otherwise

sunCC: Warning: Option -Wno-non-virtual-dtor passed to ld, if ld is
invoked, ignored otherwise

sunCC: Warning: Option -Wno-format passed to ld, if ld is invoked, ignored
otherwise
sunCC: Warning: Option -Wconversion passed to ld, if ld is invoked, ignored
otherwise
sunCC: Warning: Option -mpreferred-stack-boundary=2 passed to ld, if ld is
invoked, ignored otherwise
sunCC: Warning: Option -march=pentium4 passed to ld, if ld is invoked,
ignored otherwise
sunCC: Invalid input file name /home/tyson/i9os/BuildMk/config/config.h, no
output generated for this file.
sunCC: Invalid input file name
/home/tyson/i9os/Microkernel/kernel/src/generic/macros.h, no output
generated for this file.
"/home/tyson/i9os/Microkernel/kernel/src/generic/config.h", line 37: Error:
Badly formed include file name.
"/home/tyson/i9os/Microkernel/kernel/src/generic/config.h", line 37: Error:
There is extra text on this line.
"/home/tyson/i9os/Microkernel/kernel/src/generic/config.h", line 38: Error:
Badly formed include file name.
"/home/tyson/i9os/Microkernel/kernel/src/generic/config.h", line 38: Error:
There is extra text on this line.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 38: Error:
Badly formed include file name.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 38: Error:
There is extra text on this line.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 62: Error:
word_t is not defined.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 72: Error:
INLINE is not defined.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 72: Error:
Multiple declaration for addr_t.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 72: Error:
"," expected instead of "addr_offset".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 75: Error:
A declaration was expected instead of "}".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 84: Error:
INLINE is not defined.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 84: Error:
Multiple declaration for addr_t.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 84: Error:
"," expected instead of "addr_offset".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 87: Error:
A declaration was expected instead of "}".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 95: Error:
INLINE is not defined.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 95: Error:
Multiple declaration for addr_t.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 95: Error:
"," expected instead of "addr_mask".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 98: Error:
A declaration was expected instead of "}".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 106: Error:
INLINE is not defined.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 106: Error:
Multiple declaration for addr_t.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 106: Error:
"," expected instead of "addr_align".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 109: Error:
A declaration was expected instead of "}".
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 117: Error:
INLINE is not defined.
"/home/tyson/i9os/Microkernel/kernel/src/generic/types.h", line 117: Error:
Multiple declaration for addr_t.
Compilation aborted, too many Error messages.
make[1]: *** [src/glue/v4-x86/x32/init.o] Error 1
make[1]: Leaving directory `/home/tyson/i9os/BuildMk'
make: *** [all] Error 2


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Apr 18, 2009, 8:33:03 PM4/18/09
to i9-operat...@googlegroups.com

Comment #1 on issue 10 by tyson.key: L4Ka::Pistachio doesn't compile with

Similarly, when trying to build the example userland with a temporary path
tweak and
some symlinks, this happens:
[tyson@nagasaki i9os]$
PATH=/opt/sun/sunstudioceres/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache::/usr/local/win32/bin:/opt/perforce/bin:/opt/cxoffice/bin:/usr/local/bin:/usr/bin:/bin:/usr/NX/bin:/opt/real/RealPlayer:/home/tyson/bin:/usr/NX/bin:/opt/real/RealPlayer
make l4ul-build
/home/tyson/i9os/BuildL4UL

make[1]: Entering directory `/home/tyson/i9os/BuildL4UL'

make[2]: Entering directory `/home/tyson/i9os/BuildL4UL/lib'

make[3]: Entering directory `/home/tyson/i9os/BuildL4UL/lib/l4'

===> Making dependencies in lib/l4

gcc: Warning: Option -fno-stack-protector passed to ld, if ld is invoked,
ignored
otherwise
gcc: Warning: Option -nostdinc passed to ld, if ld is invoked, ignored
otherwise

gcc: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise

gcc: Warning: Option -Wshadow passed to ld, if ld is invoked, ignored
otherwise

gcc: Warning: Option -Wconversion passed to ld, if ld is invoked, ignored
otherwise

"../../../Microkernel/user/include/l4/ia32/types.h", line 40: Warning:
attribute
__mode__ is unsupported and will be skipped..
"../../../Microkernel/user/include/l4/ia32/types.h", line 47: Warning:
attribute
__mode__ is unsupported and will be skipped..
"../../../Microkernel/user/include/l4/ia32/specials.h", line 56: Warning:
The
variable bitnum has not yet been assigned a value.
"../../../Microkernel/user/include/l4/types.h", line 376: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 376: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 376: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 381: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 381: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 381: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 386: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 386: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 386: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 391: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 391: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 391: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 396: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 396: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 396: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 401: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 401: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 401: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 407: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 407: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 407: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 412: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 412: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 412: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 504: Error: The
function
"__builtin_constant_p" must have a prototype.


Compilation aborted, too many Error messages.

Assembler:

"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 52 :
Syntax
error
Near line: " .section .data.syscalls, "wax", "progbits""

"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 56 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 58 :
Syntax
error
Near line: " .section .data.syscalls_copy, "wax", "progbits""

"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 61 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 63 :
Syntax
error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 63 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 63 :
Syntax
error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 63 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 64 :
Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 64 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 64 :
Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 64 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 65 :
Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 65 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 65 :
Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 65 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 66 :
Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 66 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 66 :
Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 66 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 67 :
Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 67 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 67 :
Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 67 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 68 :
Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 68 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 68 :
Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 68 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 69 :
Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 69 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 69 :
Syntax error
Too many errors - Goodbye
make[3]: *** No rule to make target `.depend', needed by `library-all'.
Stop.
make[3]: Leaving directory `/home/tyson/i9os/BuildL4UL/lib/l4'
make[2]: *** [subdirs-all] Error 2
make[2]: Leaving directory `/home/tyson/i9os/BuildL4UL/lib'
make[1]: *** [subdirs-all] Error 2
make[1]: Leaving directory `/home/tyson/i9os/BuildL4UL'
make: *** [l4ul-build] Error 2
[tyson@nagasaki i9os]$

codesite...@google.com

unread,
Apr 18, 2009, 8:43:09 PM4/18/09
to i9-operat...@googlegroups.com

Comment #2 on issue 10 by tyson.key: L4Ka::Pistachio doesn't compile with

... and when trying to build GenodeKit with SSE3/09:
[tyson@nagasaki build.pistachio_x86]$


PATH=/opt/sun/sunstudioceres/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache::/usr/local/win32/bin:/opt/perforce/bin:/opt/cxoffice/bin:/usr/local/bin:/usr/bin:/bin:/usr/NX/bin:/opt/real/RealPlayer:/home/tyson/bin:/usr/NX/bin:/opt/real/RealPlayer
make

Processing ../base/src/test/rm_nested/target.mk
-----------------------------------------------
Skip program test-rmnested because it requires experimental

Processing ../base/src/test/rm_fault/target.mk
----------------------------------------------
Library slab
g++: Warning: Option -print-libgcc-file-name passed to ld, if ld is
invoked, ignored
otherwise
Usage: g++ [ options ] files. Use 'g++ -flags' for details

dirname: missing operand

Try `dirname --help' for more information.

COMPILE slab_slab.o

g++: Warning: Option -nostdinc passed to ld, if ld is invoked, ignored
otherwise

g++: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise

g++: Invalid input file name slab.o slab.d, no output generated for this
file.

"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line
54: Error:
In this declaration "_data" is of an incomplete type "char[]".
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line
65: Error:
Pointer type needed instead of int.
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line
66: Error:
Pointer type needed instead of int.
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line
127: Error:
In this declaration "_data" is of an incomplete type "char[]".
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line
149: Error:
Cannot return int from a function that should return void*.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 49:
Error: Pointer type needed instead of int.
6 Error(s) detected.

make[8]: *** [slab_slab.o] Error 6

make[7]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/slab.lib.a]
Error
2
make[6]: *** [all] Error 2

make[5]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/allocator_avl.lib.a]
Error 2
make[4]: *** [all] Error 2

make[3]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/cxx.lib.a]
Error 2
make[2]: *** [all_sequence] Error 2

make[1]: *** [single_target] Error 2

make: *** [.] Error 2

[tyson@nagasaki build.pistachio_x86]$ ls

bin etc Makefile progress.log test var

[tyson@nagasaki build.pistachio_x86]$ vim progress.log
[tyson@nagasaki build.pistachio_x86]$ vim etc/
build.conf pistachio.conf .svn/ tools.conf
[tyson@nagasaki build.pistachio_x86]$ vim etc/build.conf
[tyson@nagasaki build.pistachio_x86]$


PATH=/opt/sun/sunstudioceres/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache::/usr/local/win32/bin:/opt/perforce/bin:/opt/cxoffice/bin:/usr/local/bin:/usr/bin:/bin:/usr/NX/bin:/opt/real/RealPlayer:/home/tyson/bin:/usr/NX/bin:/opt/real/RealPlayer
make

Processing ../base/src/test/rm_nested/target.mk
-----------------------------------------------
Skip program test-rmnested because it requires experimental

Processing ../base/src/test/rm_fault/target.mk
----------------------------------------------
Skip cxx library because of missing library description file cxx.mk
Skip ipc library because of missing library description file ipc.mk
Library slab
g++: Warning: Option -print-libgcc-file-name passed to ld, if ld is
invoked, ignored
otherwise
Usage: g++ [ options ] files. Use 'g++ -flags' for details

dirname: missing operand

Try `dirname --help' for more information.

COMPILE slab_slab.o

g++: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise

g++: Invalid input file name slab.o slab.d, no output generated for this
file.

"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 15:
Error: Could not open include file<base/slab.h>.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 16:
Error: Could not open include file<util/misc_math.h>.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 18:
Error: Genode is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 28:
Error: "inline" is not allowed here.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 28:
Error: Multiple declaration for new.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 28:
Error: size_t is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 28:
Error: Badly formed expression.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 31:
Error: Slab_block is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 31:
Error: In this declaration "slab" is of an incomplete type "void".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 31:
Error: Slab is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 32:
Error: "," expected instead of "{".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 34:
Error: _slab is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 35:
Error: prev is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 37:
Error: A declaration was expected instead of "for".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 37:
Error: No direct declarator preceding "(".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 37:
Error: Template i is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 37:
Error: Multiple declaration for i.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 37:
Error: "," expected instead of "++".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 39:


Error: A declaration was expected instead of "}".

"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 42:
Error: "," expected instead of "*".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 51:


Error: A declaration was expected instead of "}".

"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 54:
Error: Slab_block is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 54:
Error: e is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 54:
Error: "," expected instead of "{".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 55:


Error: A declaration was expected instead of "}".

Compilation aborted, too many Error messages.

make[10]: *** [slab_slab.o] Error 1

make[9]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/slab.lib.a]
Error
2
make[8]: *** [all] Error 2

make[7]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/allocator_avl.lib.a]
Error 2
make[6]: *** [all] Error 2

make[5]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/heap.lib.a]
Error
2
make[4]: *** [all] Error 2

make[3]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/env.lib.a]
Error 2
make[2]: *** [all_sequence] Error 2

make[1]: *** [single_target] Error 2

make: *** [.] Error 2

[tyson@nagasaki build.pistachio_x86]$ vim etc/build.conf
[tyson@nagasaki build.pistachio_x86]$


PATH=/opt/sun/sunstudioceres/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache::/usr/local/win32/bin:/opt/perforce/bin:/opt/cxoffice/bin:/usr/local/bin:/usr/bin:/bin:/usr/NX/bin:/opt/real/RealPlayer:/home/tyson/bin:/usr/NX/bin:/opt/real/RealPlayer
make

Processing ../base/src/test/rm_nested/target.mk
-----------------------------------------------
Skip program test-rmnested because it requires experimental

Processing ../base/src/test/rm_fault/target.mk
----------------------------------------------
Library slab
g++: Warning: Option -print-libgcc-file-name passed to ld, if ld is
invoked, ignored
otherwise
Usage: g++ [ options ] files. Use 'g++ -flags' for details
dirname: missing operand
Try `dirname --help' for more information.
COMPILE slab_slab.o
g++: Warning: Option -nostdinc passed to ld, if ld is invoked, ignored
otherwise
g++: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise
g++: Invalid input file name slab.o slab.d, no output generated for this
file.
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line
54: Error:
In this declaration "_data" is of an incomplete type "char[]".
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line
65: Error:
Pointer type needed instead of int.
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line
66: Error:
Pointer type needed instead of int.
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line
127: Error:
In this declaration "_data" is of an incomplete type "char[]".
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line
149: Error:
Cannot return int from a function that should return void*.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 49:
Error: Pointer type needed instead of int.
6 Error(s) detected.
make[8]: *** [slab_slab.o] Error 6
make[7]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/slab.lib.a]
Error
2
make[6]: *** [all] Error 2
make[5]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/allocator_avl.lib.a]
Error 2
make[4]: *** [all] Error 2
make[3]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/cxx.lib.a]
Error 2
make[2]: *** [all_sequence] Error 2
make[1]: *** [single_target] Error 2
make: *** [.] Error 2

Reply all
Reply to author
Forward
0 new messages