View Issue Details

IDProjectCategoryView StatusLast Update
0002923GNUnetbuild processpublic2013-12-24 20:54
ReporterMatthias Wachs Assigned ToChristian Grothoff  
PriorityurgentSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
PlatformsparcOSdebianOS VersionLinux mamasparc
Product VersionGit master 
Target Version0.10.0Fixed in Version0.10.0 
Summary0002923: GNUnet does not compile on sparc buildbot due to libgcrypt
DescriptionHere a summary about the current state of the sparc:

The system is clean in the way:
- git is cloned to /root/libgcrypt.git
- configure libgcrypt with --disable-asm
- Only a single libgcrypt installation in /usr/
- Removed all distribution provided gcrypt installations
- Removed non standard installations in:
/lib/sparc-linux-gnu:
    libgcrypt.so.11 -> libgcrypt.so.11.7.0
/lib/sparc64-linux-gnu:
    libgcrypt.so.20 -> libgcrypt.so.20.0.0

GNUnet configure fails with:

configure:20525: error: in `/root/buildbot/lenny-sparc64-wachs/build':
configure:20527: error: libgcrypt header version does not match library version
See `config.log' for more details

but when extracting the c source and compiling it you get:

root@mamasparc:~# gcc test.c -L/usr/lib -lgcrypt
/usr/lib/libgcrypt.so: undefined reference to `__udiv_qrnnd'
collect2: error: ld returned 1 exit status
root@mamasparc:~#

Additional InformationThis seems to be an well known issue:

http://gnupg.10057.n7.nabble.com/linker-issue-on-sparc-td30262.html

TagsNo tags attached.

Activities

Matthias Wachs

2013-11-06 19:57

reporter   ~0007602

I included this issue in today's compile error mail to libgcrypt mailing list...

Christian Grothoff

2013-11-06 20:06

manager   ~0007603

WK is already well-aware of the issue, he has root@sparcbot to fix this.

Christian Grothoff

2013-11-07 15:39

manager   ~0007606

WK writes:

Right, that is what config.guess shows. uname does not give a hint for
32 bit userland either. We need to see whether newer
config.{guess,sub} are available.

  ./configure --host=sparc32-unknown-linux-gnu

however builds and passes some tests but tests take really long due to
missing entropy.

Christian Grothoff

2013-11-07 15:56

manager   ~0007607

Using the suggested configure option GNUnet does compile again.

Issue History

Date Modified Username Field Change
2013-07-02 11:48 Matthias Wachs New Issue
2013-07-02 11:49 Matthias Wachs Additional Information Updated
2013-07-11 00:00 Christian Grothoff Status new => confirmed
2013-07-11 00:00 Christian Grothoff Product Version => Git master
2013-10-20 20:34 Christian Grothoff Assigned To => Christian Grothoff
2013-10-20 20:34 Christian Grothoff Target Version => 0.10.0
2013-10-20 20:34 Christian Grothoff Assigned To Christian Grothoff => Matthias Wachs
2013-10-20 20:34 Christian Grothoff Status confirmed => assigned
2013-10-20 20:34 Christian Grothoff Assigned To Matthias Wachs => Christian Grothoff
2013-11-06 16:30 Christian Grothoff Priority normal => urgent
2013-11-06 19:57 Matthias Wachs Note Added: 0007602
2013-11-06 20:06 Christian Grothoff Note Added: 0007603
2013-11-07 15:39 Christian Grothoff Note Added: 0007606
2013-11-07 15:56 Christian Grothoff Note Added: 0007607
2013-11-07 15:56 Christian Grothoff Status assigned => resolved
2013-11-07 15:56 Christian Grothoff Fixed in Version => 0.10.0
2013-11-07 15:56 Christian Grothoff Resolution open => fixed
2013-12-24 20:54 Christian Grothoff Status resolved => closed