Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

"No such file or directory" but binary exists [SOLVED]

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
22 posts • Page 1 of 1
Author
Message
nomorelogic
n00b
n00b
Posts: 14
Joined: Tue Apr 08, 2014 7:12 am

"No such file or directory" but binary exists [SO

  • Quote

Post by nomorelogic » Wed Apr 23, 2014 7:36 am

hi all

this is my 1st post here, I'm a free pascal programmer and recently (2 months) I've started to study gentoo closest.

So, I've installed gentoo on my raspberry PI.
Now I'm trying to install the free pascal compiler from subversion but I've a problem.
Following commands I used:

Code: Select all

1) su
2) mkdir /usr/local/fpc
3) cd /usr/local/fpc
4) wget http://sourceforge.net/projects/freepascal/files/Bootstrap/2.6.2/arm-linux-ppcarm.bz2/download
5) mv download ppcarm.bz2
6) bunzip2 ppcarm.bz2
7) svn co http://svn.freepascal.org/svn/fpc/trunk trunk
8) svn export --force trunk trunktmp
9) cd trunktmp
10) make all OPT='-gl -O3p3' -j 8 FPMAKEOPT="-T 8" FPC=/usr/local/fpc/ppcarm
Just to explain:
4) with wget I download a bootstrap compiler. It's a base free pascal compiler needed to compile the real compiler from sources.
7) I download free pascal sources from subversion repository
10) using the bootstrap compiler downloaded in (4) I execute "make all"

This command runs but fails immediatly after the build of "fpmake".
Well, fpmake exists but if I execute it I get "-bash: ./fpmake: No such file or directory"...

Googled around I've found some similar cases but I can't resolve myself.
I have checked fpmake with some tools, follow results:
pastoo packages # file ./fpmake
./fpmake: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.0.0, not stripped
pastoo packages # ldd ./fpmake
/usr/bin/ldd: line 115: ./fpmake: No such file or directory
pastoo packages #
pastoo packages # readelf -hl ./fpmake
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: ARM
Version: 0x1
Entry point address: 0x8490
Start of program headers: 52 (bytes into file)
Start of section headers: 3147912 (bytes into file)
Flags: 0x5000002, has entry point, Version5 EABI
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 9
Size of section headers: 40 (bytes)
Number of section headers: 27
Section header string table index: 24

Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
PHDR 0x000034 0x00008034 0x00008034 0x00120 0x00120 R E 0x4
INTERP 0x000154 0x00008154 0x00008154 0x00013 0x00013 R 0x1
[Requesting program interpreter: /lib/ld-linux.so.3]
LOAD 0x000000 0x00008000 0x00008000 0x14a5f4 0x14a5f4 R E 0x8000
LOAD 0x14af20 0x0015af20 0x0015af20 0x092b0 0x0e5e8 RW 0x8000
DYNAMIC 0x14af20 0x0015af20 0x0015af20 0x000e0 0x000e0 RW 0x4
NOTE 0x000170 0x00008170 0x00008170 0x00020 0x00020 R 0x10
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4
GNU_RELRO 0x14af20 0x0015af20 0x0015af20 0x000e0 0x000e0 R 0x1
PAX_FLAGS 0x000000 0x00000000 0x00000000 0x00000 0x00000 0x4

Section to Segment mapping:
Segment Sections...
00
01 .interp
02 .interp .note.ABI-tag .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata
03 .dynamic .got .data .bss
04 .dynamic
05 .note.ABI-tag
06
07 .dynamic
08

thanks in advantage
nomorelogic
Last edited by nomorelogic on Fri May 09, 2014 8:48 am, edited 1 time in total.
Imagination is more important than knowledge (A.Einstein)
Top
windex
n00b
n00b
Posts: 70
Joined: Sun Dec 09, 2012 7:00 am

Full Path

  • Quote

Post by windex » Wed Apr 23, 2014 7:29 pm

Can you maybe try invoking fpmake with it's complete path?

For example, if ./fpmake doesn't work, try /some/directory/fpmake with the correct full path?

Is the result any different?
Top
nomorelogic
n00b
n00b
Posts: 14
Joined: Tue Apr 08, 2014 7:12 am

  • Quote

Post by nomorelogic » Thu Apr 24, 2014 7:40 am

no differences
pastoo packages # /usr/local/fpc/trunktmp/packages/fpmake
-bash: /usr/local/fpc/trunktmp/packages/fpmake: No such file or directory
from the error message it seems that the OS does not recognize the command, but it is strange: fpmake is the only binary that gives me this problem; I also tried to copy, rename and move it to another path... nothing to do, same error.

On the other hand if it was a compilation problem (eg: missing library or bad format), I would expect some error a bit more explicit.

I really can't figure out.

Thank you windex
Imagination is more important than knowledge (A.Einstein)
Top
luismw
Tux's lil' helper
Tux's lil' helper
Posts: 91
Joined: Mon Jan 04, 2010 9:23 am

  • Quote

Post by luismw » Thu Apr 24, 2014 9:47 am

Probably a dumb question, but your user does have execution permission for that file, right?
Top
nomorelogic
n00b
n00b
Posts: 14
Joined: Tue Apr 08, 2014 7:12 am

  • Quote

Post by nomorelogic » Thu Apr 24, 2014 10:04 am

permissions are right, checked several times, I'm doing the installation as root
Imagination is more important than knowledge (A.Einstein)
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Thu Apr 24, 2014 10:58 am

Have you tried just emerging dev-lang/fpc? With Gentoo it's almost always the wrong thing to build manually (not that you can't). First, you'll be creating files that Portage cannot track, and second, someone has already figured all this out for you. ;)

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

  • Quote

Post by krinn » Thu Apr 24, 2014 11:20 am

Are you sure about your permissions?
Many users mount /usr from another partition or from nfs, and per example, the -o user imply noexec or the nfs can denied it.
Top
nomorelogic
n00b
n00b
Posts: 14
Joined: Tue Apr 08, 2014 7:12 am

  • Quote

Post by nomorelogic » Thu Apr 24, 2014 5:37 pm

@John R. Graham

I discovered that the fpc compiler has a bug (yes, on arm) and has been fixed in the trunk version 2.7.1 ...
I need to compile with this bugfix, yes, on arm.

The problem is that rarely the compiler packaged (whatever distro) is updated to the latest stable version.
And I don't need the latest stable version but a release not yet released.
For this reason I decided to make a "distro" with the installed version available from sources.


@krinn
checked: ext4 and without noexec



@ALL
I also asked for help on the forum of free pascal
I'm starting to think that it is something wrong in the build process
I thank you all for your help, if I can have evidence I'll let you know

Following the other posts[/url]:
http://forum.lazarus.freepascal.org/ind ... 305.0.html
http://forum.lazarus.freepascal.org/ind ... 363.0.html
Imagination is more important than knowledge (A.Einstein)
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Thu Apr 24, 2014 6:48 pm

Okay, understood. Just to eliminate the completely stupid, could you post the output of

Code: Select all

ls -l /usr/local/fpc/trunktmp/packages/fpmake
please?

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
steveL
Watchman
Watchman
Posts: 5153
Joined: Wed Sep 13, 2006 1:18 pm
Location: The Peanut Gallery

  • Quote

Post by steveL » Thu Apr 24, 2014 9:52 pm

nomorelogic wrote:The problem is that rarely the compiler packaged (whatever distro) is updated to the latest stable version.
And I don't need the latest stable version but a release not yet released.
For this reason I decided to make a "distro" with the installed version available from sources.
The best thing then is to simply cp the ebuild file to a newer version, and go from there, as it means you get automated builds, and usually don't need to change anything in the ebuild itself, unless there's some particular build-tweaks needed for the new version. If there are, you definitely want it easily repeatable, as you'll likely need to do it a few times to sort out whatever build-system bug you've found. Sometimes patches no longer apply, and either need updating or ditching; that gives you a much better understanding of the code, though you can always ask for help here or in #gentoo-dev-help on IRC:chat.freenode.net.

Added bonus: you can contribute the ebuild back for everyone else to use, too, and any build-system fixes to upstream based on a Gentoo bug. That tends to give you a much better relationship with whichever project it may be.
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Fri Apr 25, 2014 12:42 am

(Alas, not that simple in this case.)
I can confirm that I have received between 0 and 499 National Security Letters.
Top
TomWij
Retired Dev
Retired Dev
User avatar
Posts: 1553
Joined: Wed Jul 04, 2012 6:52 pm

  • Quote

Post by TomWij » Fri Apr 25, 2014 12:52 am

[Requesting program interpreter: /lib/ld-linux.so.3]
Is that file present?
Top
nomorelogic
n00b
n00b
Posts: 14
Joined: Tue Apr 08, 2014 7:12 am

  • Quote

Post by nomorelogic » Sun Apr 27, 2014 8:45 am

John R. Graham wrote:Okay, understood. Just to eliminate the completely stupid, could you post the output of

Code: Select all

ls -l /usr/local/fpc/trunktmp/packages/fpmake
please?

- John
ok

Code: Select all

pastoo trunktmp # ls -l /usr/local/fpc/trunktmp/packages/fpmake
-rwxr-xr-x 1 root root 4139343 Apr 27 10:35 /usr/local/fpc/trunktmp/packages/fpmake
Edit:
I'm doing the installation as root
Imagination is more important than knowledge (A.Einstein)
Top
nomorelogic
n00b
n00b
Posts: 14
Joined: Tue Apr 08, 2014 7:12 am

  • Quote

Post by nomorelogic » Sun Apr 27, 2014 9:07 am

steveL wrote: [...]
Added bonus: you can contribute the ebuild back for everyone else to use, too, and any build-system fixes to upstream based on a Gentoo bug. That tends to give you a much better relationship with whichever project it may be.
certainly the current ebuild installs the fpc compiler using a tarball or at least something else that contains the compiler in precompiled form.
this ebuild should run a different process, through subversion and a bootstrap compiler.

It would be an ebuild that should perform installation in a non-standard location (as it is not to be considered stable, and you need to avoid conflicts with any official compiler installed on your system).

about the experience that I'm doing with raspberry, I'm still far from success. but the raspberry is definitely a special case ...

Today I'm not ready, I will try to get experience in this direction.
Imagination is more important than knowledge (A.Einstein)
Top
nomorelogic
n00b
n00b
Posts: 14
Joined: Tue Apr 08, 2014 7:12 am

  • Quote

Post by nomorelogic » Sun Apr 27, 2014 9:17 am

TomWij wrote:
[Requesting program interpreter: /lib/ld-linux.so.3]
Is that file present?
wow, no.
it is present as
/lib/ld-linux-armhf.so.3


I created a link

Code: Select all

pastoo packages # ln -s ld-linux-armhf.so.3 ld-linux.so.3
and now, situation is different

Code: Select all

pastoo packages # ./fpmake 
The installer encountered the following error:
Access violation
I'll retry the entire process

thank you very much
Imagination is more important than knowledge (A.Einstein)
Top
TomWij
Retired Dev
Retired Dev
User avatar
Posts: 1553
Joined: Wed Jul 04, 2012 6:52 pm

  • Quote

Post by TomWij » Sun Apr 27, 2014 9:54 am

That file came from sys-libs/glibc so that might have be broken and could require to be re-emerged.

As for the access violation, you'll want to `emerge dev-util/strace` and then `strace -f -o/tmp/strace.log sh ./fpmake` to find out what it can't access; given that the output of ./fpmake itself isn't really verbose...
Top
nomorelogic
n00b
n00b
Posts: 14
Joined: Tue Apr 08, 2014 7:12 am

  • Quote

Post by nomorelogic » Sun Apr 27, 2014 10:37 am

well, nothing better from entire rebuild
./fpmake compile -T 8 --localunitdir=.. --os=linux --cpu=arm -o -Ur -o -Xs -o -O2 -o -n -o -Fu/usr/local/fpc/trunktmp/rtl/units/arm-linux -o -gl -o -O3p3 -o -darm -o -dRELEASE --compiler=/usr/local/fpc/trunktmp/compiler/ppcarm -bu -o -XX -o -CX
The installer encountered the following error:
Access violation
make[2]: *** [smart] Error 1
make[2]: Leaving directory `/usr/local/fpc/trunktmp/packages'
make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory `/usr/local/fpc/trunktmp'
make: *** [build-stamp.arm-linux] Error 2
jutst to let you know, follow some output commands related to fpmake

readelf
pastoo trunktmp # readelf -hl packages/fpmake
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: ARM
Version: 0x1
Entry point address: 0x8490
Start of program headers: 52 (bytes into file)
Start of section headers: 3147912 (bytes into file)
Flags: 0x5000002, has entry point, Version5 EABI
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 9
Size of section headers: 40 (bytes)
Number of section headers: 27
Section header string table index: 24

Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
PHDR 0x000034 0x00008034 0x00008034 0x00120 0x00120 R E 0x4
INTERP 0x000154 0x00008154 0x00008154 0x00013 0x00013 R 0x1
[Requesting program interpreter: /lib/ld-linux.so.3]
LOAD 0x000000 0x00008000 0x00008000 0x14a5f4 0x14a5f4 R E 0x8000
LOAD 0x14af20 0x0015af20 0x0015af20 0x092b0 0x0e5e8 RW 0x8000
DYNAMIC 0x14af20 0x0015af20 0x0015af20 0x000e0 0x000e0 RW 0x4
NOTE 0x000170 0x00008170 0x00008170 0x00020 0x00020 R 0x10
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4
GNU_RELRO 0x14af20 0x0015af20 0x0015af20 0x000e0 0x000e0 R 0x1
PAX_FLAGS 0x000000 0x00000000 0x00000000 0x00000 0x00000 0x4

Section to Segment mapping:
Segment Sections...
00
01 .interp
02 .interp .note.ABI-tag .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata
03 .dynamic .got .data .bss
04 .dynamic
05 .note.ABI-tag
06
07 .dynamic
08

file
pastoo trunktmp # file packages/fpmake
packages/fpmake: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.0.0, not stripped
ldd (now produces a output)
pastoo trunktmp # ldd packages/fpmake
libpthread.so.0 => /lib/libpthread.so.0 (0xb6f90000)
libdl.so.2 => /lib/libdl.so.2 (0xb6f85000)
libc.so.6 => /lib/libc.so.6 (0xb6e53000)
/lib/ld-linux.so.3 (0xb6fb0000)


Edit:
there is a good new: compiler was built (ppcarm is the correct name) and 2.7.1 is the real trunk release!
pastoo trunktmp # ./compiler/ppcarm
Free Pascal Compiler version 2.7.1 [2014/04/27] for arm
Copyright (c) 1993-2014 by Florian Klaempfl and others
/usr/local/fpc/trunktmp/compiler/ppcarm [options] <inputfile> [options]
Put + after a boolean switch option to enable it, - to disable it
-a The compiler does not delete the generated assembler file
-al List sourcecode lines in assembler file
-an List node info in assembler file (-dEXTDEBUG compiler)
-ao Add an extra option to external assembler call (ignored for internal)
-ap Use pipes instead of creating temporary assembler files
-ar List register allocation/release info in assembler file
-at List temp allocation/release info in assembler file
-A<x> Output format:
-Adefault Use default assembler
-Aas Assemble using GNU AS
-b Generate browser info
-bl Generate local symbol info
-B Build all modules
-C<x> Code generation options:
-C3 Turn on ieee error checking for constants
-Ca<x> Select ABI, see fpc -i for possible values
-Cb Generate code for a big-endian variant of the target architecture
-Cc<x> Set default calling convention to <x>
*** press enter ***
[...]
now I need to investigate on fpmake to undestrand more about the error

thank you again
Imagination is more important than knowledge (A.Einstein)
Top
TomWij
Retired Dev
Retired Dev
User avatar
Posts: 1553
Joined: Wed Jul 04, 2012 6:52 pm

  • Quote

Post by TomWij » Sun Apr 27, 2014 10:53 am

See my previous comment, strace can help a lot to figure out what it is doing; with a context grep you might even be able to find the access violation.
Top
nomorelogic
n00b
n00b
Posts: 14
Joined: Tue Apr 08, 2014 7:12 am

  • Quote

Post by nomorelogic » Sun Apr 27, 2014 1:43 pm

follow test with strace (command line used by "make all")
strace -f -o/tmp/strace.log ./fpmake compile -T 8 --localunitdir=.. --os=linux --cpu=arm -o -Ur -o -Xs -o -O2 -o -n -o -Fu/usr/local/fpc/trunktmp/rtl/units/arm-linux -o -gl -o -O3p3 -o -darm -o -dRELEASE --compiler=/usr/local/fpc/trunktmp/compiler/ppcarm -bu -o -XX -o -CX
and this is the content of: /tmp/strace.log

Code: Select all

5613  execve("./fpmake", ["./fpmake", "compile", "-T", "8", "--localunitdir=..", "--os=linux", "--cpu=arm", "-o", "-Ur", "-o", "-Xs", "-o", "-O2", "-o", "-n", "-o", ...], [/* 25 vars */]) = 0
5613  brk(0)                            = 0x47e000
5613  uname({sys="Linux", node="pastoo", ...}) = 0
5613  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6fd1000
5613  access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
5613  open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
5613  fstat64(3, {st_mode=S_IFREG|0644, st_size=17269, ...}) = 0
5613  mmap2(NULL, 17269, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6fcc000
5613  close(3)                          = 0
5613  open("/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
5613  read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\374g\0\0004\0\0\0"..., 512) = 512
5613  fstat64(3, {st_mode=S_IFREG|0755, st_size=120958, ...}) = 0
5613  mmap2(NULL, 127528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6f8c000
5613  mprotect(0xb6fa0000, 32768, PROT_NONE) = 0
5613  mmap2(0xb6fa8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0xb6fa8000
5613  mmap2(0xb6faa000, 4648, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6faa000
5613  close(3)                          = 0
5613  open("/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
5613  read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\v\0\0004\0\0\0"..., 512) = 512
5613  fstat64(3, {st_mode=S_IFREG|0755, st_size=9684, ...}) = 0
5613  mmap2(NULL, 41144, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6f81000
5613  mprotect(0xb6f83000, 28672, PROT_NONE) = 0
5613  mmap2(0xb6f8a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xb6f8a000
5613  close(3)                          = 0
5613  open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
5613  read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0l\264\1\0004\0\0\0"..., 512) = 512
5613  fstat64(3, {st_mode=S_IFREG|0755, st_size=1209484, ...}) = 0
5613  mmap2(NULL, 1250640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6e4f000
5613  mprotect(0xb6f73000, 32768, PROT_NONE) = 0
5613  mmap2(0xb6f7b000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x124000) = 0xb6f7b000
5613  mmap2(0xb6f7e000, 9552, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6f7e000
5613  close(3)                          = 0
5613  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6fcb000
5613  set_tls(0xb6fcb6d0, 0xb6fcbda8, 0xb6fd4000, 0xb6fcb6d0, 0xb6fd4000) = 0
5613  mprotect(0xb6f7b000, 8192, PROT_READ) = 0
5613  mprotect(0xb6f8a000, 4096, PROT_READ) = 0
5613  mprotect(0xb6fa8000, 4096, PROT_READ) = 0
5613  mprotect(0x15a000, 4096, PROT_READ) = 0
5613  mprotect(0xb6fd3000, 4096, PROT_READ) = 0
5613  munmap(0xb6fcc000, 17269)         = 0
5613  set_tid_address(0xb6fcb278)       = 5613
5613  set_robust_list(0xb6fcb280, 12)   = 0
5613  futex(0xbe86c348, FUTEX_WAKE_PRIVATE, 1) = 0
5613  futex(0xbe86c348, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, b6fa9000) = -1 EAGAIN (Resource temporarily unavailable)
5613  rt_sigaction(SIGRTMIN, {0xb6f922bc, [], SA_SIGINFO|0x4000000}, NULL, 8) = 0
5613  rt_sigaction(SIGRT_1, {0xb6f92160, [], SA_RESTART|SA_SIGINFO|0x4000000}, NULL, 8) = 0
5613  rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
5613  getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
5613  getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
5613  rt_sigaction(SIGFPE, {0x7ba44, [], SA_SIGINFO|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
5613  rt_sigaction(SIGSEGV, {0x7ba44, [], SA_SIGINFO|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
5613  rt_sigaction(SIGBUS, {0x7ba44, [], SA_SIGINFO|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
5613  rt_sigaction(SIGILL, {0x7ba44, [], SA_SIGINFO|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
5613  ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
5613  ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
5613  ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
5613  ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
5613  readlink("/proc/self/exe", "/usr/local/fpc/trunktmp/packages"..., 255) = 39
5613  open("/etc/timezone", O_RDONLY|O_LARGEFILE) = 3
5613  read(3, "Europe/Rome\n", 255)     = 12
5613  close(3)                          = 0
5613  open("/usr/share/zoneinfo/Europe/Rome", O_RDONLY|O_LARGEFILE) = 3
5613  read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0\0\0\0"..., 2048) = 2048
5613  mmap2(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e0f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e07000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6dff000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6df7000
5613  close(3)                          = 0
5613  gettimeofday({1398606104, 144644}, {0, 0}) = 0
5613  futex(0xb6f8b0ac, FUTEX_WAKE_PRIVATE, 2147483647) = 0
5613  brk(0)                            = 0x47e000
5613  brk(0x49f000)                     = 0x49f000
5613  mmap2(NULL, 4508, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6fcf000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6def000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6de7000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ddf000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6dd7000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6dcf000
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6dc7000
5613  pipe([3, 4])                      = 0
5613  pipe([5, 6])                      = 0
5613  pipe([7, 8])                      = 0
5613  access("/usr/local/fpc/trunktmp/compiler/ppcarm", F_OK) = 0
5613  fork()                            = 5614
5613  close(4)                          = 0
5613  close(5)                          = 0
5613  close(8)                          = 0
5613  read(3,  <unfinished ...>
5614  close(6)                          = 0
5614  dup2(5, 0)                        = 0
5614  close(3)                          = 0
5614  dup2(4, 1)                        = 1
5614  close(7)                          = 0
5614  dup2(8, 2)                        = 2
5614  execve("/usr/local/fpc/trunktmp/compiler/ppcarm", ["/usr/local/fpc/trunktmp/compiler"..., "-iVTPTO"], [/* 25 vars */]) = 0
5614  getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
5614  rt_sigaction(SIGFPE, {0x36eb4, [], SA_SIGINFO|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
5614  rt_sigaction(SIGSEGV, {0x36eb4, [], SA_SIGINFO|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
5614  rt_sigaction(SIGBUS, {0x36eb4, [], SA_SIGINFO|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
5614  rt_sigaction(SIGILL, {0x36eb4, [], SA_SIGINFO|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
5614  ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0xbea55408) = -1 ENOTTY (Inappropriate ioctl for device)
5614  ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0xbea55408) = -1 ENOTTY (Inappropriate ioctl for device)
5614  ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0xbea55408) = -1 ENOTTY (Inappropriate ioctl for device)
5614  ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0xbea55408) = -1 ENOTTY (Inappropriate ioctl for device)
5614  readlink("/proc/self/exe", "/usr/local/fpc/trunktmp/compiler"..., 255) = 39
5614  open("/etc/timezone", O_RDONLY|O_LARGEFILE) = 3
5614  read(3, "Europe/Rome\n", 255)     = 12
5614  close(3)                          = 0
5614  open("/usr/share/zoneinfo/Europe/Rome", O_RDONLY|O_LARGEFILE) = 3
5614  read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0\0\0\0"..., 2048) = 2048
5614  mmap2(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f0a000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f02000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6efa000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ef2000
5614  close(3)                          = 0
5614  gettimeofday({1398606104, 181094}, {0, 0}) = 0
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6eea000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ee2000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6eda000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ed2000
5614  rt_sigaction(SIGINT, {0x390f4, [], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0}, 8) = 0
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6eca000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ec2000
5614  gettimeofday({1398606104, 187501}, NULL) = 0
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6eba000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6eb2000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6eaa000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ea2000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e9a000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e92000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e8a000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e82000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e7a000
5614  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e72000
5614  munmap(0xb6e92000, 32768)         = 0
5614  munmap(0xb6e82000, 32768)         = 0
5614  munmap(0xb6eb2000, 32768)         = 0
5614  munmap(0xb6e7a000, 32768)         = 0
5614  munmap(0xb6e72000, 32768)         = 0
5614  munmap(0xb6e8a000, 32768)         = 0
5614  munmap(0xb6ee2000, 32768)         = 0
5614  munmap(0xb6eda000, 32768)         = 0
5614  munmap(0xb6eca000, 32768)         = 0
5614  munmap(0xb6ed2000, 32768)         = 0
5614  munmap(0xb6ec2000, 32768)         = 0
5614  munmap(0xb6eea000, 32768)         = 0
5614  munmap(0xb6f0a000, 262144)        = 0
5614  munmap(0xb6f02000, 32768)         = 0
5614  munmap(0xb6efa000, 32768)         = 0
5614  munmap(0xb6ef2000, 32768)         = 0
5614  write(1, "2.7.1 arm linux\n", 16 <unfinished ...>
5613  <... read resumed> "2.7.1 arm linux\n", 1024) = 16
5614  <... write resumed> )             = 16
5613  close(7 <unfinished ...>
5614  munmap(0xb6e9a000, 32768 <unfinished ...>
5613  <... close resumed> )             = 0
5614  <... munmap resumed> )            = 0
5613  close(3 <unfinished ...>
5614  munmap(0xb6ea2000, 32768 <unfinished ...>
5613  <... close resumed> )             = 0
5614  <... munmap resumed> )            = 0
5614  munmap(0xb6eaa000, 32768)         = 0
5614  munmap(0xb6eba000, 32768)         = 0
5614  exit_group(0)                     = ?
5614  +++ exited with 0 +++
5613  close(6)                          = 0
5613  --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5614, si_status=0, si_utime=0, si_stime=3} ---
5613  stat64("/usr/local/lib/fpc/2.7.1", 0xbe86bfa8) = -1 ENOENT (No such file or directory)
5613  stat64("/usr/lib/fpc/2.7.1", 0xbe86bfa8) = -1 ENOENT (No such file or directory)
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6dbf000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6db7000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6daf000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6da7000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d9f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d97000
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/src/win/", 0xbe86bf20) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d8f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d87000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d7f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d77000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d6f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d67000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d5f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d57000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d4f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d47000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d3f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d37000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d2f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d27000
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf98) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d1f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d17000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d0f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d07000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6cff000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6cf7000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6cef000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ce7000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6cdf000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6cd7000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ccf000
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf30) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/filechooser/", 0xbe86bf30) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/gettingstarted/", 0xbe86bf30) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/gtk_demo/", 0xbe86bf30) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/gtkglext/", 0xbe86bf30) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/helloworld/", 0xbe86bf30) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/helloworld2/", 0xbe86bf30) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/plugins/", 0xbe86bf30) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/scribble_simple/", 0xbe86bf30) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6cc7000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6cbf000
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf98) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6cb7000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6caf000
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf98) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ca7000
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf90) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf78) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf90) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c9f000
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf98) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c97000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c8f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c87000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c7f000
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf98) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c77000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c6f000
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf98) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c67000
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf98) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c5f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c57000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c4f000
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf98) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c47000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c3f000
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf98) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf78) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c37000
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf98) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf98) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c2f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c27000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c1f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c17000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c0f000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c07000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6bff000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6bf7000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6bef000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6be7000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6bdf000
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  stat64("/usr/local/fpc/trunktmp/packages/examples/", 0xbe86bf98) = -1 ENOENT (No such file or directory)
5613  getcwd("/usr/local/fpc/trunktmp/packages", 2048) = 33
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6bd7000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6bcf000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6bc7000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6bbf000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6bb7000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6baf000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ba7000
5613  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6b9f000
5613  --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xe8bd8008} ---
5613  rt_sigprocmask(SIG_UNBLOCK, [SEGV], NULL, 8) = 0
5613  write(1, "The installer encountered the fo"..., 47) = 47
5613  write(1, "Access violation\n", 17) = 17
5613  munmap(0xb6c07000, 32768)         = 0
5613  munmap(0xb6c17000, 32768)         = 0
5613  munmap(0xb6c27000, 32768)         = 0
5613  munmap(0xb6c2f000, 32768)         = 0
5613  munmap(0xb6c4f000, 32768)         = 0
5613  munmap(0xb6c5f000, 32768)         = 0
5613  munmap(0xb6c77000, 32768)         = 0
5613  munmap(0xb6c8f000, 32768)         = 0
5613  munmap(0xb6cc7000, 32768)         = 0
5613  munmap(0xb6d2f000, 32768)         = 0
5613  munmap(0xb6d5f000, 32768)         = 0
5613  munmap(0xb6d87000, 32768)         = 0
5613  munmap(0xb6d97000, 32768)         = 0
5613  munmap(0xb6daf000, 32768)         = 0
5613  munmap(0xb6dbf000, 32768)         = 0
5613  munmap(0xb6de7000, 32768)         = 0
5613  munmap(0xb6e0f000, 262144)        = 0
5613  munmap(0xb6e07000, 32768)         = 0
5613  munmap(0xb6df7000, 32768)         = 0
5613  munmap(0xb6bd7000, 32768)         = 0
5613  munmap(0xb6bc7000, 32768)         = 0
5613  munmap(0xb6baf000, 32768)         = 0
5613  munmap(0xb6c0f000, 32768)         = 0
5613  munmap(0xb6da7000, 32768)         = 0
5613  munmap(0xb6dc7000, 32768)         = 0
5613  exit_group(1)                     = ?
5613  +++ exited with 1 +++
Imagination is more important than knowledge (A.Einstein)
Top
TomWij
Retired Dev
Retired Dev
User avatar
Posts: 1553
Joined: Wed Jul 04, 2012 6:52 pm

  • Quote

Post by TomWij » Sun Apr 27, 2014 1:49 pm

5613 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xe8bd8008} ---
This suggests the program segfaults while trying a mmap (line before); it has some kind of access violation error trying to access that memory address, as to why I have no idea. It sounds like something you might want to file upstream with the developers that you've got fpc from.

Alternatively, consider using dev-lang/fpc from the Portage tree.
Top
nomorelogic
n00b
n00b
Posts: 14
Joined: Tue Apr 08, 2014 7:12 am

  • Quote

Post by nomorelogic » Mon Apr 28, 2014 6:52 am

ok TomWij
thank you very much for all
Imagination is more important than knowledge (A.Einstein)
Top
nomorelogic
n00b
n00b
Posts: 14
Joined: Tue Apr 08, 2014 7:12 am

  • Quote

Post by nomorelogic » Fri May 09, 2014 8:47 am

In the end I managed to solve the problem. The success is due to the fact that I used a newer compiler (before I was using version 2.6.2 and now 2.6.4, released during this work) and I used the linker /lib/ld-linux.so.3 in a process of compilation that I had not seen before.

I wrote a wiki page about the installation of fpc compiler on raspberry with gentoo: http://wiki.lazarus.freepascal.org/Inst ... ith_Gentoo

Thank you all very much
nomorelogic



Edit:
I had forgotten, following the link to download the SD card gentoo image.
It's a very simple image:
- minimum gentoo linux installation (SD 8GB, OpenRc)
- no X server, no desktop manager
- Software installed with emerge: ssh, subversion and git
- manual installation of latest stable version of the official fpc compiler (2.6.4)
- manual installation of trunk fpc compiler (2.7.1) installed from source downloaded with subversion

If you don't need fpc, simply remove following folders:
- /usr/local/fpc
- /usr/local/lib/fpc
and
- in /usr/bin, remove all files listed by

Code: Select all

ls /usr/bin/fp*
- in /etc, remove all files listed by

Code: Select all

ls /etc/fp*
This is the link
https://sourceforge.net/projects/pastoo/?source=navbar

I hope can be useful
Imagination is more important than knowledge (A.Einstein)
Top
Post Reply

22 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic