libkrb5support.so.0.1: stackgap.c: undefined reference to `main'

Bug #598254 reported by Mike Mestnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dietlibc (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: dietlibc

make[2]: Entering directory `/home/mmestnik/src/diet/linux-nrpe-agent/subcomponents/krb5/krb5-1.8.1+dfsg/src/util/support'
rm -f libkrb5support.so.0.1
building shared krb5support library (0.1)
set -x; objlist=`set -x && perl -p -e 'BEGIN { $SIG{__WARN__} = sub {die @_} }; $e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g;' OBJS.SH` && diet -Os gcc -pipe -nostdinc -shared -fPIC -Wl,-h,libkrb5support.so.0,--no-undefined -o libkrb5support.so.0.1 $objlist -Wl,-R/opt/diet/lib -lresolv -L/opt/diet/lib -Wl,--version-script binutils.versions && perl -w ../../util/export-check.pl libkrb5support.exports libkrb5support.so.0.1
+ set -x
+ perl -p -e BEGIN { $SIG{__WARN__} = sub {die @_} }; $e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g; OBJS.SH
+ objlist= threads.so init-addrinfo.so plugins.so errors.so k5buf.so gmt_mktime.so fake-addrinfo.so utf8.so utf8_conv.so zap.so
+ diet -Os gcc -pipe -nostdinc -shared -fPIC -Wl,-h,libkrb5support.so.0,--no-undefined -o libkrb5support.so.0.1 threads.so init-addrinfo.so plugins.so errors.so k5buf.so gmt_mktime.so fake-addrinfo.so utf8.so utf8_conv.so zap.so -Wl,-R/opt/diet/lib -lresolv -L/opt/diet/lib -Wl,--version-script binutils.versions
/usr/lib/diet/lib-i386/libc.a(stackgap.o): In function `stackgap':
stackgap.c:(.text+0xa7): undefined reference to `main'
collect2: ld returned 1 exit status
make[2]: *** [libkrb5support.so.0.1] Error 1
make[2]: Leaving directory `/home/mmestnik/src/diet/linux-nrpe-agent/subcomponents/krb5/krb5-1.8.1+dfsg/src/util/support'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/home/mmestnik/src/diet/linux-nrpe-agent/subcomponents/krb5/krb5-1.8.1+dfsg/src/util'
make: *** [all-recurse] Error 1

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: dietlibc-dev 0.31-1.2ubuntu2 [modified: usr/include/diet/stdint.h]
Uname: Linux 2.6.34-997-generic i686
Architecture: i386
Date: Thu Jun 24 15:17:47 2010
Dependencies:

InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: dietlibc

Revision history for this message
Mike Mestnik (cheako) wrote :
Revision history for this message
Thorsten Glaser (mirabilos) wrote :

Probably solved with the 0.32-6 sync

Revision history for this message
Mike Mestnik (cheako) wrote :

Hello, I don't remember this specific bug. However at some point the krb developers dropped support for static binaries. So diet builds will never work. The solution I used was to use a pre krb4.x source will all it's bugs and security issues, but support for static builds.

This produced usable binaries. If there was any interest in supporting a static build of krb then perhaps usable binaries could be upgraded to secure binaries, but in most cases usable is what counts and secure is just some forum button you always just click "Yes I understand."

This bug can be marked won't fix.

Revision history for this message
Thorsten Glaser (mirabilos) wrote :

ok, thanks for agreeing (the problem in dietlibc _is_ probably solved, though)

Changed in dietlibc (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.