View Issue Details

IDProjectCategoryView StatusLast Update
0002923GNUnetbuild processpublic2013-12-24 19:54
ReporterMatthias Wachs Assigned ToChristian Grothoff Due Date
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 18:57

reporter   ~0007602

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

Christian Grothoff

2013-11-06 19:06

manager   ~0007603

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

Christian Grothoff

2013-11-07 14: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 14:56

manager   ~0007607

Using the suggested configure option GNUnet does compile again.

Issue History

Date ModifiedUsernameFieldChange
2013-07-02 09:48Matthias WachsNew Issue
2013-07-02 09:49Matthias WachsAdditional Information Updated
2013-07-10 22:00Christian GrothoffStatusnew => confirmed
2013-07-10 22:00Christian GrothoffProduct Version => Git master
2013-10-20 18:34Christian GrothoffAssigned To => Christian Grothoff
2013-10-20 18:34Christian GrothoffTarget Version => 0.10.0
2013-10-20 18:34Christian GrothoffAssigned ToChristian Grothoff => Matthias Wachs
2013-10-20 18:34Christian GrothoffStatusconfirmed => assigned
2013-10-20 18:34Christian GrothoffAssigned ToMatthias Wachs => Christian Grothoff
2013-11-06 15:30Christian GrothoffPrioritynormal => urgent
2013-11-06 18:57Matthias WachsNote Added: 0007602
2013-11-06 19:06Christian GrothoffNote Added: 0007603
2013-11-07 14:39Christian GrothoffNote Added: 0007606
2013-11-07 14:56Christian GrothoffNote Added: 0007607
2013-11-07 14:56Christian GrothoffStatusassigned => resolved
2013-11-07 14:56Christian GrothoffFixed in Version => 0.10.0
2013-11-07 14:56Christian GrothoffResolutionopen => fixed
2013-12-24 19:54Christian GrothoffStatusresolved => closed