Date: Wed, 09 Jan 2013 19:12:26 +0100 From: John Marino <freebsdml@marino.st> To: awarecons <awarecons@gmail.com> Cc: ports@freebsd.org, ports-bugs@freebsd.org Subject: Re: security/libssh ISSUE undefined reference to `__stack_chk_fail_local' Message-ID: <50EDB30A.1060002@marino.st> In-Reply-To: <CACGq7x1zUtOfBW5h2t0MoPa%2BzhBBWKMwY8c9_i-Te1qZ2w2a8Q@mail.gmail.com> References: <CACGq7x1zUtOfBW5h2t0MoPa%2BzhBBWKMwY8c9_i-Te1qZ2w2a8Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
It is pointless to post about every instance of __stack_chk_fail_local. The problem, as I mentioned before, is really with every gcc compiler in ports (with the possible exception of gcc-aux, it may or may not be patched yet). If the compiler is patched, all the __stack_chk_fail_local failures disappear. I still think these posts belong in a PR, not on a mail list. We are all aware a PR takes some time to write and it takes 10 seconds to blast out an email. But the PR system exists for a reason. John On 1/9/2013 19:04, awarecons wrote: > FreeBSD 9.0-Release i386 for i386 > > GCC 4.6.3: > > Linking C shared library libssh.so > CMakeFiles/ssh_shared.dir/agent.c.o: In function `agent_talk': > agent.c:(.text+0x3c9): undefined reference to `__stack_chk_fail_local' > CMakeFiles/ssh_shared.dir/channels.c.o: In function `ssh_channel_request_x11': > channels.c:(.text+0x3638): undefined reference to `__stack_chk_fail_local' > CMakeFiles/ssh_shared.dir/channels.c.o: In function `channel_read_buffer': > channels.c:(.text+0x44d3): undefined reference to `__stack_chk_fail_local' > CMakeFiles/ssh_shared.dir/client.c.o: In function `ssh_send_banner': > client.c:(.text+0x590): undefined reference to `__stack_chk_fail_local' > CMakeFiles/ssh_shared.dir/config.c.o: In function `.L46': > config.c:(.text+0x8c7): undefined reference to `__stack_chk_fail_local' > CMakeFiles/ssh_shared.dir/connect.c.o:connect.c:(.text+0xf7): more > undefined references to `__stack_chk_fail_local' follow > collect2: ld returned 1 exit status > *** Error code 1 > 1 error > *** Error code 2 > [100%] Building C object src/CMakeFiles/ssh.dir/bind.c.o > Linking C static library libssh.a > [100%] Built target ssh > 1 error > *** Error code 2 > 1 error > *** Error code 1 > > Stop in /usr/ports/security/libssh. > *** Error code 1 > > Stop in /usr/ports/security/libssh. > > GCC 4.2: fine. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50EDB30A.1060002>