search for: __i386

Displaying 14 results from an estimated 14 matches for "__i386".

Did you mean: 1_i386
2005 Jul 25
0
[LLVMdev] Compile a linux kernel with LLVM?
ymxia at nudt.edu.cn wrote: > When I compiled a linux kernel, gccas was used to compile assembly code. > > But gccas cannot recognize the line comment character "#" of gnu assembler, > > and abort the compile with reporting a error "syntax error, unexpected $undefined". > > I watch llvm/tools/gccas, but donot known how to add this function in it. >
2005 Jul 25
2
Re: [LLVMdev] Compile a linux kernel with LLVM?
When I compiled a linux kernel, gccas was used to compile assembly code. But gccas cannot recognize the line comment character "#" of gnu assembler, and abort the compile with reporting a error "syntax error, unexpected $undefined". I watch llvm/tools/gccas, but donot known how to add this function in it. Would you give me some suggestions? Thanks.
2006 Nov 06
0
[LLVMdev] Convert C++ to C. What is 0x0p+0 ?
...AIN() > in tying up with the rest of the code? I'm not quite sure what you're asking. CODE_FOR_MAIN is defined in your helloworld.c file as: #define CODE_FOR_MAIN() /* Any target-specific code for main()*/ #if defined(__GNUC__) && !defined(__llvm__) #if defined(i386) || defined(__i386__) || defined(__i386) || defined(__x86_64__) #undef CODE_FOR_MAIN #define CODE_FOR_MAIN() \ {short F;__asm__ ("fnstcw %0" : "=m" (*&F)); \ F=(F&~0x300)|0x200;__asm__("fldcw %0"::"m"(*&F));} #endif #endif As noted in the comment, this is for t...
2000 Oct 02
1
R build on i86pc Solaris 2.7 (PR#677)
...1' make: *** [R] Error 2 Solution: ************************************************* --- src/unix/X11/rbitmap.c.jpeg-patch Mon Oct 2 16:18:16 2000 +++ src/unix/X11/rbitmap.c Mon Oct 2 16:40:36 2000 @@ -231,6 +231,9 @@ #ifdef HAVE_JPEG #include <jpeglib.h> +#if __sun__ & __i386 +#include <setjmp.h> +#endif /* Here's the extended error handler struct */> version _ ************************************************ with this patch R compiles and passes "make test", the full version is: > version _...
2006 Nov 06
2
[LLVMdev] Convert C++ to C. What is 0x0p+0 ?
Hi: I've been able to compile the attached "helloworld.c" file converted from "helloworld.cpp". My question is how does one usually use __main() and CODE_FOR_MAIN() in tying up with the rest of the code? Attached here are the original "helloworld.cpp" and "helloworld.c" files. Thanks. Napi On Sun, 2006-11-05 at 09:14 -0800, Reid Spencer wrote: >
2008 Mar 04
0
Determining curthread pointer (ulwp_t) via libproc on i386
.../* * Compute the address of the ulwp_t and step over the * ul_self pointer. The method used to store the user-land * thread pointer is very different on 32- and 64-bit * kernels. */ [ ... ] #elif defined(__i386) addr = USEGD_GETBASE(&lwp->lwp_pcb.pcb_gsdesc); addr += sizeof (void *); #endif -------------------------------------------------------------------------------- So we''re using pcb_gsdesc, but it doesn''t appear that this is exposed to userl...
2006 Jul 17
7
access to errno when using pid provider
I would like to know how to get access to errno when using pid provider to probe calls to libc functions like fopen(). The built-in errno appears to be only for system calls. What I''d like to be able to do is investigate where in an application I''m encountering EMFILE and what the stack looks like at the time. This message posted from opensolaris.org
2005 Apr 02
0
[LLVMdev] Running Pool Allocated programs
On Sat, 2 Apr 2005, Ricardo wrote: > Hello, > I am trying to run a program optimized with the Pool Allocation, but I am receiving this error: > > ==================== > > *** 4 DYNAMIC POOLS INITIALIZED *** > > *** 4 DYNAMIC POOLS ALLOCATED FROM *** > > MaxHeapSize = 0.062500KB HeapSizeAtExit = 0.062500KB NOTE: only valid if using > Heuristic=AllPools and no
2005 Apr 02
2
[LLVMdev] Running Pool Allocated programs
Hello, I am trying to run a program optimized with the Pool Allocation, but I am receiving this error: ==================== libpoolalloc.so: undefined symbol: _ZTIN4llvm16EquivClassGraphsE -load request ignored. *** 4 DYNAMIC POOLS INITIALIZED *** *** 4 DYNAMIC POOLS ALLOCATED FROM *** MaxHeapSize = 0.062500KB HeapSizeAtExit = 0.062500KB NOTE: only valid if using Heuristic=AllPools and no
2006 Nov 05
4
[LLVMdev] Convert C++ to C. What is 0x0p+0 ?
Hi: I'm interested in using llvm to convert C++ code to C code. I used the following command to do this: % llvm-g++ -c foo.cpp -o - | llc -march=c -o foo.cbe.c In the resulting file foo.cbe.c there are many occurences of '0x0p+0'. What is it used for? Here's a code snippet from the file foo.cbe.c if ((ltmp_126_2 > 0x0p+0)) { goto ltmp_363_19; } else { goto
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...gcc: `-V' option must have argument cppdefines: #define __DBL_MIN_EXP__ (-1021) #define __FLT_MIN__ 1.17549435e-38F #define __CHAR_BIT__ 8 #define __WCHAR_MAX__ 2147483647 #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 #define __FLT_EVAL_METHOD__ 2 #define __unix__ 1 #define unix 1 #define __i386__ 1 #define __SIZE_TYPE__ unsigned int #define __ELF__ 1 #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __GNUC_PATCHLEVEL__ 3 #define __FLT_RADIX__ 2 #define __LDBL_EPSILON__ 1.08420217248550443401e-19L #define __SHRT_MAX__ 32767 #define __LDBL_MAX__ 1.18973149535723176502...
2005 Apr 03
2
[LLVMdev] Running Pool Allocated programs
...t(10); } ========================== After applying the PA to it, the output is something like this: ========================== int main(void) { signed char *ltmp_2_5; struct l_struct_2E_list *l6_tmp_2E_7_2E_i2; #if defined(__GNUC__) && !defined(__llvm__) #if defined(i386) || defined(__i386__) || defined(__i386) {short FPCW;__asm__ ("fnstcw %0" : "=m" (*&FPCW)); FPCW=(FPCW&~0x300)|0x200;__asm__("fldcw %0" :: "m" (*&FPCW));} #endif #endif poolinit((&l2_GlobalPool), 4u, 4u); ltmp_2_5 = malloc(4u); l6_tmp_2E_7_2E_i2 = l1_makeL...
2006 Feb 24
17
Re: [nfs-discuss] bug 6344186
Joseph Little wrote: > I''d love to "vote" to have this addressed, but apparently votes for > bugs are no available to outsiders. > > What''s limiting Stanford EE''s move to using ZFS entirely for our > snapshoting filesystems and multi-tier storage is the inability to > access .zfs directories and snapshots in particular on NFSv3 clients.
2008 Mar 06
0
[ANNOUNCE] xorg-server 1.4.99.901
...copy what BSD does) xorgcfg needs $(DIX_CFLAGS) for pixman-1 include path Rework local client id finding code to be more uniform Sun bug 6589829: include zoneid of shm segment in access policy for MIT-SHM Enable use of /dev/urandom on Solaris as well Restore checks for __i386 where needed for Sun compilers on Solaris Use _X_EXPORT instead of __attribute__((visibility("default"))) Use pkg-config to get -I, -L & -R flags needed for OpenSSL xf86getpagesize() -> getpagesize() in os-support/solaris/sun_bios.c Check for <sys/sdt.h&g...