glibc_2.28-10_source.changes ACCEPTED into unstable

2019-05-01 Thread Debian FTP Masters



Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Wed, 01 May 2019 19:24:19 +0200
Source: glibc
Architecture: source
Version: 2.28-10
Distribution: unstable
Urgency: medium
Maintainer: GNU Libc Maintainers 
Changed-By: Aurelien Jarno 
Closes: 913929
Changes:
 glibc (2.28-10) unstable; urgency=medium
 .
   [ Aurelien Jarno ]
   * debian/patches/git-updates.diff: update from upstream stable branch:
 - Fix infinite loop in pldd.  Closes: #913929.
Checksums-Sha1:
 4ecc84cc80aa1cd22e20981e9923afac9cad3688 8889 glibc_2.28-10.dsc
 d8cfb7b72c3cbf3be8ac244eef5b5605cb12e354 885796 glibc_2.28-10.debian.tar.xz
 81de356068e45d66695c9d4b675afbcb6d5a77ab 7245 glibc_2.28-10_source.buildinfo
Checksums-Sha256:
 9f21ef7002d51a32b46aafb9ca604427cf28c49495ecbf97e44740f53619ce69 8889 
glibc_2.28-10.dsc
 08ca414d8428a252ea357661631885ff72e47afa0663e3811167cc0897dbb042 885796 
glibc_2.28-10.debian.tar.xz
 d76eaf84a3bd4a6bc46c75235d4aac2969d2f64be306ef3196dbcd6164e1f63b 7245 
glibc_2.28-10_source.buildinfo
Files:
 cb7414099fbd76ba8ada9737821cd42a 8889 libs required glibc_2.28-10.dsc
 130cceaa119cd8dd2e3d6824a5ccb21d 885796 libs required 
glibc_2.28-10.debian.tar.xz
 b68d76e4bf1614f19591504c008c3298 7245 libs required 
glibc_2.28-10_source.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAlzJ2UQACgkQE4jA+Jno
M2tw2hAAjIU0xrsY8ItWEOu5vcHgrIx8QOJTTC40HW7geoLgPv5KcowWTHp9Si+H
jDuTi2Vp/gyZ6K95v9xUMUsa/kMiMWNc2E/K55SER6PEPtqX/vHrRV3a5xA0bhWN
ces12fyseD6o+sYp2+v+PPrHtpzTE4/7gOcRN1t1v6sj72hHtn6KCu4ofIcSWrcT
P3Mzwtf1/qHAyuiVv5pbTVFw2OfxZ7xjRQPnhCX9nBxMl2rKImJ6VgFAum4DuhdH
MHNFe6+X3rYIc4XfP5tT7ls4guv8CX6Hb2a1CDDBNbVyWu9SPgMY+bP3FHTzKPR8
5rF7ushUCMsJaK43gHaY62OkxWaTc8cZAbwx0ZYjA0yF5xNUCzcHRq96K4tumlmp
RdTDABAi45Nv/KhHGilWl1XrudlMHd5EwFyCbKbU5M5CvBrCLtj8lvT/x73xX4Ld
rLlfSMuZ/RdRDahs4nrSMjZ5+nzdjDuQLd0b6d93/TGSE1uWUj6wJZLLgP+a5KC/
0t+LRtTugXLXuqwkWrh7S2gVsYRoXsJfeDzwX0DZNf+C28ZyMaqz++g3iY7pXEPj
CWQeTzU73ot/qss0ThuDi9t41y6KlswcJltT+nT2crbXmx/GjiXcxT7miD88xs93
4NnUYIijm1LuUhHewqH+FzzKizftERRS6LNZoBEeujxOAFiaZRM=
=57oi
-END PGP SIGNATURE-


Thank you for your contribution to Debian.



Bug#914999: [libc6] Locking problems into libc6

2019-05-01 Thread Roman Savochenko

12.12.18 17:11, Roman Savochenko wrote:



There are thousands of packages in different versions between Debian 8

and Debian 9. You have found it's not related to the kernel, but I fail
to see how that shows it's a libc6 issue. For example when you have
tried the kernel from Debian 9 in Debian 8, have you also tried with 
the

rtl8192 firmware from Debian 9?

I will compare the firmware, thanks.
I have installed of equal package firmware-realtek 20161130-4 on 
Debian 9 and this problem is actual yet.


So, I have found a way of fixing this problem: 
https://github.com/Mange/rtl8192eu-linux-driver/issues/46


sudo nano /etc/NetworkManager/NetworkManager.conf

and add below 2 lines:

[device]
wifi.scan-rand-mac-address=no

Regards, Roman



Processing of glibc_2.28-10_source.changes

2019-05-01 Thread Debian FTP Masters
glibc_2.28-10_source.changes uploaded successfully to localhost
along with the files:
  glibc_2.28-10.dsc
  glibc_2.28-10.debian.tar.xz
  glibc_2.28-10_source.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



Bug#913929: marked as done (pldd never stops)

2019-05-01 Thread Debian Bug Tracking System
Your message dated Wed, 01 May 2019 17:49:10 +
with message-id 
and subject line Bug#913929: fixed in glibc 2.28-10
has caused the Debian Bug report #913929,
regarding pldd never stops
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
913929: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913929
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libc-bin
Version: 2.27-8
Severity: normal

Hi,

I've ran `pldd $$`, but it never comes to an end. I've killed the process
with SIGQUIT and got this backtrace:

```
   PID: 10556 (pldd)
   UID: 1000 (joerg)
   GID: 1000 (joerg)
Signal: 3 (QUIT)
 Timestamp: Sat 2018-11-17 08:33:56 CET (5min ago)
  Command Line: pldd 953
Executable: /usr/bin/pldd
 Control Group: /user.slice/user-1000.slice/session-1.scope
  Unit: session-1.scope
 Slice: user-1000.slice
   Session: 1
 Owner UID: 1000 (joerg)
   Boot ID: 87a38c39c06e4c36b4eebb33c4e3e2ac
Machine ID: 523cb54753234ed08c13ec497d0d3b64
  Hostname: zenbook
   Storage: 
/var/lib/systemd/coredump/core.pldd.1000.87a38c39c06e4c36b4eebb33c4e3e2ac.10556.154244003600.lz4
   Message: Process 10556 (pldd) of user 1000 dumped core.

Stack trace of thread 10556:
#0  0x7f81a7d6a7a7 __libc_pread64 (libc.so.6)
#1  0x557c5866224d n/a (pldd)
#2  0x557c58661792 n/a (pldd)
#3  0x7f81a7ca5b17 __libc_start_main (libc.so.6)
#4  0x557c5866184a n/a (pldd)

[New LWP 10556]
Core was generated by `pldd 953'.
Program terminated with signal SIGQUIT, Quit.
#0  0x7f81a7d6a7a7 in __libc_pread64 (fd=4, buf=0x7ffebbcd5900, count=16, 
offset=140221672822504) at ../sysdeps/unix/sysv/linux/pread64.c:29
29  ../sysdeps/unix/sysv/linux/pread64.c: Datei oder Verzeichnis nicht 
gefunden.
#0  0x7f81a7d6a7a7 in __libc_pread64 (fd=4, buf=0x7ffebbcd5900, count=16, 
offset=140221672822504) at ../sysdeps/unix/sysv/linux/pread64.c:29
resultvar = 16
sc_ret = 
sc_ret = 
resultvar = 
resultvar = 
__arg4 = 
__arg3 = 
__arg2 = 
__arg1 = 
_a4 = 
_a3 = 
_a2 = 
_a1 = 
sc_cancel_oldtype = 
resultvar = 
resultvar = 
__arg4 = 
__arg3 = 
__arg2 = 
__arg1 = 
_a4 = 
_a3 = 
_a2 = 
_a1 = 
#1  0x557c5866224d in find_maps64 (pid=, auxv=, auxv_size=) at pldd-xx.c:230
ln = {name = 140221672822528, next = 0}
m = {l_addr = 93944802607104, l_name = 140221672822528, l_ld = 
93944803440424, l_next = 140221672822544, l_prev = 0, l_real = 140221672821104, 
l_ns = 0, l_libname = 140221672822504}
name_offset = 140221672822528
phdr = 
phnum = 
phent = 
auxvXX = 
p = 
offset = 
list = 
interp = 
tmpbuf = {data = 0x7ffebbcd5960, length = 1024, __space = {__align = 
{__max_align_ll = 0, __max_align_ld = }, __c = '\000' 
, 
"\360\231\220\377\177\000\000\260\233\377\346\207\177\000\000H\363\231\220\377\177\000\000\000\260\372\346\207\177\000\000p\221\377\346\207\177\000\000\020\227\377\346\207\177\000\000\000\000\000\000\000\000\000\000\210\233\377\346\207\177",
 '\000' , 
"\240v\377\346\207\177\000\000\260v\377\346\207\177\000\000\300v\377\346\207\177",
 '\000' , 
"\250\363\231\220\377\177\000\000\270\363\231\220\377\177", '\000' , "H\363\231\220\377\177\000\000\000\000\000\000\000\000\000\000"...}}
status = 0
#2  0x557c58661792 in get_process_info (pid=953, dfd=3) at pldd.c:338
fd = 5
auxv = 0x557c59f6b480
retval = 
e_ident = "\177ELF\002\001\001\000\000\000\000\000\000\000\000"
auxv_size = 320
fd = 
e_ident = 
auxv_size = 
auxv = 
retval = 
n = 
#3  main (argc=, argv=) at pldd.c:193
remaining = 1
__PRETTY_FUNCTION__ = "main"
endp = 0x557c59f6b4f6 ""
pid = 953
buf = 
"/proc/953\000ͻ\376\177\000\000\001\000\000\000\000\000\000\000\265Iҧ\201\177"
dfd = 
exebuf = {data = 0x7ffebbcd5e20, length = 1024, __space = {__align = 
{__max_align_ll = 7526493746400682543, __max_align_ld = }, 
__c = 
"/bin/zsh\000_ͻ\376\177\000\000\210\t䧁\177\000\000\360\331见\177\000\000\000\000\000\000\000\000\000\000\027\362槁\177\000\000\001\000\000\000\000\000\000\000\210\t䧁\177\000\000\001",
 '\000' , 

[Git][glibc-team/glibc][sid] releasing package glibc version 2.28-10

2019-05-01 Thread Aurelien Jarno


Aurelien Jarno pushed to branch sid at GNU Libc Maintainers / glibc


Commits:
9cedc94b by Aurelien Jarno at 2019-05-01T17:26:00Z
releasing package glibc version 2.28-10

- - - - -


1 changed file:

- debian/changelog


View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/commit/9cedc94b3e395d0beec9acf23c380133fd87af89

-- 
View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/commit/9cedc94b3e395d0beec9acf23c380133fd87af89
You're receiving this email because of your account on salsa.debian.org.



[Git][glibc-team/glibc] Pushed new tag debian/2.28-10

2019-05-01 Thread Aurelien Jarno


Aurelien Jarno pushed new tag debian/2.28-10 at GNU Libc Maintainers / glibc

-- 
View it on GitLab: https://salsa.debian.org/glibc-team/glibc/tree/debian/2.28-10
You're receiving this email because of your account on salsa.debian.org.



Bug#576484: marked as done (libc6-prof: segmentation fault when using profiling with pthread.)

2019-05-01 Thread Debian Bug Tracking System
Your message dated Wed, 1 May 2019 13:42:33 +0200
with message-id <20190501114233.ga10...@aurel32.net>
and subject line libc6-prof has been removed in glibc 2.19-12
has caused the Debian Bug report #576484,
regarding libc6-prof: segmentation fault when using profiling with pthread.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
576484: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576484
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libc6-prof
Version: 2.10.2-6
Severity: important

# cat a.c  int main() { return 0; } # gcc -g -pg a.c -o a  -static-libgcc -lc_p
# ./a Exit code 0 # gcc -g -pg a.c -o a  -static-libgcc -lc_p -pthread  # ./a
Segmentation fault (core dumped) # gdb ./a ./core  [New Thread 9335]
warning: Can't read pathname for load map: Input/output error. Reading symbols
from /lib/i686/cmov/libpthread.so.0...Reading symbols from
/usr/lib/debug/lib/i686/cmov/libpthread-2.10.2.so...done. done. Loaded symbols
for /lib/i686/cmov/libpthread.so.0 Reading symbols from
/lib/i686/cmov/libc.so.6...Reading symbols from
/usr/lib/debug/lib/i686/cmov/libc-2.10.2.so...done. done. Loaded symbols for
/lib/i686/cmov/libc.so.6 Reading symbols from /lib/ld-linux.so.2...Reading
symbols from /usr/lib/debug/lib/ld-2.10.2.so...done. done. Loaded symbols for
/lib/ld-linux.so.2 Core was generated by `./a'. Program terminated with signal
11, Segmentation fault. #0  0x0807fed1 in _dl_get_tls_static_info () (gdb) bt
#0  0x0807fed1 in _dl_get_tls_static_info () #1  0x400425ff in
__pthread_initialize_minimal_internal () at nptl-init.c:387 #2  0x40041df8 in
_init () at /build/buildd-eglibc_2.10.2-6-i386-fHPOAN/eglibc-2.10.2/build-
tree/i386-i686/nptl/crti.S:24 #3  0x4000e554 in call_init (l=0x40020858,
argc=1, argv=0xbfaa6734,  env=0xbfaa673c) at dl-init.c:70 #4  0x4000e6e6 in
_dl_init (main_map=0x4001d670, argc=1, argv=0xbfaa6734,  env=0xbfaa673c) at
dl-init.c:100 #5  0x488f in _dl_start_user () from /lib/ld-linux.so.2 (gdb)
Using -lpthread also gives this error. Removing -pthread from gcc command line
resolves problem in test program.   Unfortunetly in my program i'm using
threads, and after removing -pthread, i have linking error.  recursive.o: In
function `launch_thread': /maradns-1.4.03/server/recursive.c:3544: undefined
reference to `pthread_create'   I found that using -lpthread_p resolves problem
in my test program (it links and runs correctly), but then in my main program i
got on linking this:  /usr/lib/gcc/i486-linux-
gnu/4.4.3/../../../../lib/libpthread_p.a(lowlevellock.op): In function
`__lll_lock_wait_private': /build/buildd-eglibc_2.10.2-6-i386-fHPOAN/eglibc-2.1
0.2/nptl/../nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S:76: multiple
definition of `__lll_lock_wait_private' /usr/lib/gcc/i486-linux-
gnu/4.4.3/../../../../lib/libc_p.a(libc-lowlevellock.op):(.text+0x0): first
defined here /usr/lib/gcc/i486-linux-
gnu/4.4.3/../../../../lib/libpthread_p.a(lowlevellock.op): In function
`__lll_unlock_wake_private': /build/buildd-eglibc_2.10.2-6-i386-fHPOAN/eglibc-2
..10.2/nptl/../nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S:326:
multiple definition of `__lll_unlock_wake_private' /usr/lib/gcc/i486-linux-
gnu/4.4.3/../../../../lib/libc_p.a(libc-lowlevellock.op):(.text+0x30): first
defined hereCould you add this information to
/usr/share/doc/libc6-prof/README.Debian , and solve problem with multiple
definitions?   I also found that executable is probably not linked (compiler
done something wrong) correctly:  # ldd ./a linux-gate.so.1 =>
(0x4001e000) libpthread.so.0 => /lib/i686/cmov/libpthread.so.0
(0x4003e000) libc.so.6 => /lib/i686/cmov/libc.so.6 (0x40057000)
/lib/ld-linux.so.2 (0x4000) #  Thanks.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.34-rc2-sredniczarny-00184-g01e7770 (PREEMPT)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to pl_PL.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6-prof depends on:
ii  libc6 2.10.2-6   Embedded GNU C Library: Shared lib

libc6-prof recommends no packages.

libc6-prof suggests no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 2.19-12

libc6-prof has been removed in glibc 2.19-12, closing the corresponding
bugs.

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net--- End Message 

Bug#551154: marked as done (libc6-prof: undefined reference to `_dl_prof_resolve')

2019-05-01 Thread Debian Bug Tracking System
Your message dated Wed, 1 May 2019 13:42:33 +0200
with message-id <20190501114233.ga10...@aurel32.net>
and subject line libc6-prof has been removed in glibc 2.19-12
has caused the Debian Bug report #551154,
regarding libc6-prof: undefined reference to `_dl_prof_resolve'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
551154: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551154
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libc6-prof
Version: 2.7-18
Severity: important


$ cat myprog.c
int main(void)
{
  return 0;
}
$ gcc -g -pg -o myprog myprog.c -static-libgcc -lc_p
/usr/lib/gcc/powerpc-linux-gnu/4.3.2/../../../../lib/libc_p.a(dl-machine.op): 
In function `__elf_machine_runtime_setup':
(.text+0xd56): undefined reference to `_dl_prof_resolve'
/usr/lib/gcc/powerpc-linux-gnu/4.3.2/../../../../lib/libc_p.a(dl-machine.op): 
In function `__elf_machine_runtime_setup':
(.text+0xd5a): undefined reference to `_dl_prof_resolve'
collect2: ld returned 1 exit status
$

Note the gcc command line above is an exact copy of the example in
README.Debian, but it doesn't work. I can't find a way to get this
_dl_prof_resolve linked in. nm /lib/lib* /usr/lib/lib* finds it only in
/usr/lib/libc.a

I haven't made much of an effort to find out what _dl_prof_resolve is
supposed to do, but I did notice that it's defined in
sysdeps/powerpc/powerpc32/dl-trampoline.S, inside #ifndef PROF, which makes
me wonder, is that backwards? A function with "prof" in its name, that's
defined everywhere but the profiling library? Could I fix this by taking the
'n' out of #ifndef?

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.31.2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6-prof depends on:
ii  libc6 2.7-18 GNU C Library: Shared libraries

libc6-prof recommends no packages.

libc6-prof suggests no packages.

-- debconf-show failed


--- End Message ---
--- Begin Message ---
Version: 2.19-12

libc6-prof has been removed in glibc 2.19-12, closing the corresponding
bugs.

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net--- End Message ---


Bug#589755: marked as done (Segfaults/FPEs using -lc_p)

2019-05-01 Thread Debian Bug Tracking System
Your message dated Wed, 1 May 2019 13:42:33 +0200
with message-id <20190501114233.ga10...@aurel32.net>
and subject line libc6-prof has been removed in glibc 2.19-12
has caused the Debian Bug report #589755,
regarding Segfaults/FPEs using -lc_p
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
589755: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589755
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libc6-prof
Version: 2.7-18lenny4

Take the example program (example1) at

http://www.ibm.com/developerworks/library/l-gnuprof.html

(source appended at end for ease of reference).

ed@sagittarius:~/tmp$ gcc example.c -pg -o example -static-libgcc -lc_p
example.c: In function ‘main’:
example.c:27: warning: incompatible implicit declaration of built-in
function ‘exit’
ed@sagittarius:~/tmp$ ./example
Usage ./example 
ed@sagittarius:~/tmp$ ./example 100
No of iterations = 100
ed@sagittarius:~/tmp$

Now try linking any other library, e.g. zlib (4 places in link order shown):

ed@sagittarius:~/tmp$ gcc example.c -pg -o example -static-libgcc -lc_p -lz
example.c: In function ‘main’:
example.c:27: warning: incompatible implicit declaration of built-in
function ‘exit’
ed@sagittarius:~/tmp$ ./example 100
Floating point exception
ed@sagittarius:~/tmp$

ed@sagittarius:~/tmp$ gcc example.c -pg -o example -lz -static-libgcc -lc_p
example.c: In function ‘main’:
example.c:27: warning: incompatible implicit declaration of built-in
function ‘exit’
ed@sagittarius:~/tmp$ ./example 100
Floating point exception
ed@sagittarius:~/tmp$

ed@sagittarius:~/tmp$ gcc example.c -pg -o example  -static-libgcc -lz -lc_p
example.c: In function ‘main’:
example.c:27: warning: incompatible implicit declaration of built-in
function ‘exit’
ed@sagittarius:~/tmp$ ./example 100
Floating point exception
ed@sagittarius:~/tmp$

ed@sagittarius:~/tmp$ gcc example.c -lz -pg -o example  -static-libgcc -lc_p
example.c: In function ‘main’:
example.c:27: warning: incompatible implicit declaration of built-in
function ‘exit’
ed@sagittarius:~/tmp$ ./example 100
Floating point exception

Now try specifying -static (e.g. there are many libraries in your program)

ed@sagittarius:~/tmp$ gcc example.c -pg -o example -static -static-libgcc -lc_p
example.c: In function ‘main’:
example.c:27: warning: incompatible implicit declaration of built-in
function ‘exit’
ed@sagittarius:~/tmp$ ./example 100
Segmentation fault

ed@sagittarius:~/tmp$ gcc example.c -pg -o example -static-libgcc -lc_p -static
example.c: In function ‘main’:
example.c:27: warning: incompatible implicit declaration of built-in
function ‘exit’
ed@sagittarius:~/tmp$ ./example 100
Segmentation fault

Thus it appears with this version you can only use -lc_p to debug
programs with no external dependencies, because you can't link other
libraries, and if you could, you still couldn't link them statically
to get proper gprof output.

I can't find any other reference to this behaviour; if it's just a
documentation problem, I'm happy to write the documentation if someone
tells me what the actual correct behaviour is (or necessary
limitations are).

Example program:

#include 

int a(void) {
  int i=0,g=0;
  while(i++<10)
  {
 g+=i;
  }
  return g;
}
int b(void) {
  int i=0,g=0;
  while(i++<40)
  {
g+=i;
  }
  return g;
}

int main(int argc, char** argv)
{
   int iterations;

   if(argc != 2)
   {
  printf("Usage %s \n", argv[0]);
  exit(-1);
   }
   else
  iterations = atoi(argv[1]);

   printf("No of iterations = %d\n", iterations);

   while(iterations--)
   {
  a();
  b();
   }
}


--- End Message ---
--- Begin Message ---
Version: 2.19-12

libc6-prof has been removed in glibc 2.19-12, closing the corresponding
bugs.

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net--- End Message ---