hi, further to last post...tried to get the current GIT HEAD...but failure during compilation (after usual ./configure stage). this happens with ot without BOILER=yes dhcp.c: In function ‘fr_dhcp_add_arp_entry’: dhcp.c:1568: warning: dereferencing pointer ‘sin’ does break strict-aliasing rules dhcp.c:1567: warning: dereferencing pointer ‘sin’ does break strict-aliasing rules dhcp.c:1566: note: initialized from here CC tcp.c LINK libfreeradius-radius.la dict.lo filters.lo hash.lo hmac.lo hmacsha1.lo isaac.lo log.lo misc.lo missing.lo md4.lo md5.lo print.lo radius.lo rbtree.lo sha1.lo snprintf.lo strlcat.lo strlcpy.lo token.lo udpfromto.lo valuepair.lo fifo.lo packet.lo event.lo getaddrinfo.lo vqp.lo heap.lo dhcp.lo tcp.lo *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x0000000000ea01e0 *** *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x0000000000ea1030 *** *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x0000000000ec2030 *** *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x0000000000ee3030 *** *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x0000000000f04030 *** *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x0000000000f25030 *** Making all in src/modules... Making all in src/modules/rlm_acctlog... CC rlm_acctlog.c LINK rlm_acctlog.la rlm_acctlog.lo *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x00000000009a81e0 *** *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x00000000009a9030 *** *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x00000000009ca030 *** *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x00000000009eb030 *** *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x0000000000a0c030 *** *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x0000000000a2d030 *** Can not find suitable library for /usr/local/src/freeradius-server/src/lib/libfreeradius-radius.la gmake[6]: *** [rlm_acctlog.la] Error 1 gmake[5]: *** [rlm_acctlog] Error 2 gmake[4]: *** [all] Error 2 gmake[3]: *** [modules] Error 2 gmake[2]: *** [all] Error 2 gmake[1]: *** [src] Error 2 make: *** [all] Error 2 hints? alan
hi, issue with 3.0.0 HEAD (which is stopping me from reporting bugs with 3.x !) still cannot build on CentOS 6.3 box make fails with LINK libfreeradius-radius.la dict.lo filters.lo hash.lo hmac.lo hmacsha1.lo isaac.lo log.lo misc.lo missing.lo md4.lo md5.lo print.lo radius.lo rbtree.lo sha1.lo snprintf.lo strlcat.lo strlcpy.lo token.lo udpfromto.lo valuepair.lo fifo.lo packet.lo event.lo getaddrinfo.lo vqp.lo heap.lo dhcp.lo tcp.lo base64.lo *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x0000000001db51e0 *** *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x0000000001db6030 *** *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x0000000001dd7030 *** *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x0000000001df8030 *** *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x0000000001e19030 *** *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x0000000001e3a030 *** ar: .libs/: Is a directory gmake[4]: *** [libfreeradius-radius.la] Error 1 gmake[3]: *** [lib] Error 2 gmake[2]: *** [all] Error 2 gmake[1]: *** [src] Error 2 make: *** [all] Error 2 alan
alan buxey wrote:
hi,
issue with 3.0.0 HEAD (which is stopping me from reporting bugs with 3.x !) still cannot build on CentOS 6.3 box
make fails with
LINK libfreeradius-radius.la dict.lo filters.lo hash.lo hmac.lo hmacsha1.lo isaac.lo log.lo misc.lo missing.lo md4.lo md5.lo print.lo radius.lo rbtree.lo sha1.lo snprintf.lo strlcat.lo strlcpy.lo token.lo udpfromto.lo valuepair.lo fifo.lo packet.lo event.lo getaddrinfo.lo vqp.lo heap.lo dhcp.lo tcp.lo base64.lo *** glibc detected *** /usr/local/src/freeradius-server/scripts/jlibtool: malloc: top chunk is corrupt: 0x0000000001db51e0 ***
Well.. edit scripts/boiler.mk and scripts/libtool.mk. Remove the "@" in front of the lines doing the actual build. Then run it manually under valgrind to see what's up. I don't see it here, so I can't reproduce it. Alan DeKok.
On Mon, Oct 29, 2012 at 02:45:28PM +0000, alan buxey wrote:
issue with 3.0.0 HEAD (which is stopping me from reporting bugs with 3.x !) still cannot build on CentOS 6.3 box
make fails with
...and I wonder if Arran missed his coffee this morning? ;-) commit a984181dff893951695aa22500cb330315983bcb Author: Arran Cudbard-Bell <a.cudbardb@freeradius.org> Date: Mon Oct 29 06:41:06 2012 +0000 arg needs to be a buffer diff --git a/src/main/radclient.c b/src/main/radclient.c index d9380f3..7194ac4 100644 --- a/src/main/radclient.c +++ b/src/main/radclient.c @@ -1022,7 +1022,7 @@ int main(int argc, char **argv) timeout = atof(optarg); break; case 'v': - printf(radclient_version); + print(radclient_version); exit(0); break; case 'x': ... Cheers Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Architect (UNIX and Networks), Network Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
On 29 Oct 2012, at 14:55, Matthew Newton <mcn4@LEICESTER.AC.UK> wrote:
On Mon, Oct 29, 2012 at 02:45:28PM +0000, alan buxey wrote:
issue with 3.0.0 HEAD (which is stopping me from reporting bugs with 3.x !) still cannot build on CentOS 6.3 box
make fails with
...and I wonder if Arran missed his coffee this morning? ;-)
commit a984181dff893951695aa22500cb330315983bcb Author: Arran Cudbard-Bell <a.cudbardb@freeradius.org> Date: Mon Oct 29 06:41:06 2012 +0000
arg needs to be a buffer
diff --git a/src/main/radclient.c b/src/main/radclient.c index d9380f3..7194ac4 100644 --- a/src/main/radclient.c +++ b/src/main/radclient.c @@ -1022,7 +1022,7 @@ int main(int argc, char **argv) timeout = atof(optarg); break; case 'v': - printf(radclient_version); + print(radclient_version); exit(0); break; case 'x': ...
No he did not *grumble*, I think that's possibly worse than the strcpy one. -Arran
participants (4)
-
alan buxey -
Alan DeKok -
Arran Cudbard-Bell -
Matthew Newton