docs/A - Credits.txt
author "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Fri Jan 27 13:31:16 2012 +0100 (2012-01-27)
changeset 2854 a70abdbfa342
parent 2563 e17f35b05539
child 2908 dcdb309b7967
permissions -rw-r--r--
complibs/cloog: fix linking with libm

In Ubuntu 11.04 and 11.10, the default options for ld have changed.
--no-copy-dt-needed-entries and --as-needed are now enabled by default, which
causes errors like:

[EXTRA] Checking CLooG/ppl
[DEBUG] ==> Executing: 'make' '-j3' '-s' 'check'
[ALL ] Making check in .
[ALL ] config.status: creating include/cloog/cloog-config.h
[ALL ] config.status: include/cloog/cloog-config.h is unchanged
[ALL ] libtool: link: i686-build_pc-linux-gnu-gcc -Wall -fomit-frame-pointer
-pipe -o cloog cloog.o -L/<snip>/build/static/lib ./.libs/libcloog.a -lm
/<snip>/build/static/lib/libppl_c.a /<snip>/build/static/lib/libpwl.a
/<snip>/build/static/lib/libppl.a /<snip>/build/static/lib/libgmpxx.a
/<snip>/build/static/lib/libgmp.a -lstdc++
[ALL ] /usr/bin/ld: /<snip>/build/static/lib/libppl.a(MIP_Problem.o):
undefined reference to symbol 'sqrt@@GLIBC_2.0'
[ALL ] /usr/bin/ld: note: 'sqrt@@GLIBC_2.0' is defined in DSO
/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libm.so so try adding
it to the linker command line
[ALL ] /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libm.so:
could not read symbols: Invalid operation
[ALL ] collect2: ld returned 1 exit status
[ERROR] make[2]: *** [cloog] Error 1
[ERROR] make[1]: *** [check-recursive] Error 1

See:
https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition

This patch fixes these errors by placing '-lm' at the right place on the command
line as libppl requires libm when linking cloog.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
yann@2076
     1
File.........: A - Credits.txt
antony@2563
     2
Copyright....: (C) 2010 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
yann@2076
     3
License......: Creative Commons Attribution Share Alike (CC-by-sa), v2.5
yann@2076
     4
yann@2076
     5
yann@2076
     6
Credits  /
yann@2076
     7
________/
yann@2076
     8
yann@2076
     9
yann@2076
    10
I would like to thank these fine people for making crosstool-NG possible:
yann@2076
    11
yann@2076
    12
  Dan KEGEL, the original author of crosstool: http://www.kegel.com/
yann@2076
    13
    Dan was very helpfull and willing to help when I build my first toolchains.
yann@2076
    14
    I owe him one. Thank you Dan!
yann@2076
    15
    Some crosstool-NG scripts have code snippets coming almost as-is from the
yann@2076
    16
    original work by Dan.
yann@2076
    17
yann@2076
    18
And in order of appearance on the crossgcc ML:
yann@2076
    19
yann@2076
    20
  Allan CLARK for his investigations on building toolchains on MacOS-X.
yann@2076
    21
    Allan made extensive tests of the first alpha of crosstool-NG on his
yann@2076
    22
    MacOS-X, and unveiled some bash-2.05 weirdness.
yann@2076
    23
yann@2076
    24
  Enrico WEIGELT
yann@2076
    25
    - some improvements to the build procedure
yann@2076
    26
    - cxa_atexit disabling for C libraries not supporting it (old uClibc)
yann@2076
    27
    - misc suggestions (restartable build, ...)
yann@2076
    28
    - get rid of some bashisms in ./configure
yann@2076
    29
    - contributed OpenRISC or32 support
yann@2076
    30
yann@2076
    31
  Robert P. J. DAY:
yann@2076
    32
    - some small improvements to the configurator, misc prompting glitches
yann@2076
    33
    - 'sanitised' patches for binutils-2.17
yann@2076
    34
    - patches for glibc-2.5
yann@2076
    35
    - misc patches, typos and eye candy
yann@2076
    36
    - too many to list any more!
yann@2076
    37
yann@2076
    38
  Al Stone:
yann@2076
    39
    - initial ia64 support
yann@2076
    40
    - some cosmetics
yann@2076
    41
yann@2076
    42
  Szilveszter Ordog:
yann@2076
    43
    - a uClibc floating point fix
yann@2076
    44
    - initial support for ARM EABI
yann@2076
    45
yann@2076
    46
  Mark Jonas:
yann@2076
    47
    - initiated Super-H port
yann@2076
    48
yann@2076
    49
  Michael Abbott:
yann@2076
    50
    - make it build with ancient findutils
yann@2076
    51
yann@2076
    52
  Willy Tarreau:
yann@2076
    53
    - a patch to glibc to build on 'ancient' shells
yann@2076
    54
    - reported mis-use of $CT_CC_NATIVE
yann@2076
    55
yann@2076
    56
  Matthias Kaehlcke:
yann@2076
    57
    - fix building glibc-2.7 (and 2.6.1) with newer kernels
yann@2076
    58
yann@2076
    59
  Daniel Dittmann:
yann@2076
    60
    - PowerPC support
yann@2076
    61
yann@2076
    62
  Ioannis E. Venetis:
yann@2076
    63
    - preliminary Alpha support
yann@2076
    64
    - intense gcc-4.3 brainstorming
yann@2076
    65
yann@2076
    66
  Thomas Jourdan:
yann@2076
    67
    - intense gcc-4.3 brainstorming
yann@2076
    68
    - eglibc support
yann@2076
    69
yann@2829
    70
  Konrad Eisele:
yann@2829
    71
    - initial multlilib support:
yann@2829
    72
      http://sourceware.org/ml/crossgcc/2011-11/msg00040.html
yann@2829
    73
yann@2076
    74
  Many others have contributed, either in form of patches, suggestions,
yann@2076
    75
  comments, or testing... Thank you to all of you!
yann@2076
    76
yann@2076
    77
Special dedication to the buildroot people for maintaining a set of patches I
yann@2076
    78
happily and shamelessly vampirise from time to time... :-)
yann@2076
    79
yann@2076
    80
yann@2076
    81
20100530: Status of this file
yann@2076
    82
yann@2076
    83
It's been about a year now that we've moved the repository to Mercurial.
yann@2076
    84
The repository now has proper authorship for each changeset, and this is
yann@2076
    85
used to build the changelog at each release. This file will probably no
yann@2076
    86
longer be updated, and is here to credit people prior to the Mercurial
yann@2076
    87
migration, or for people discussing ideas or otherwise helping without
yann@2076
    88
code.
yann@2076
    89
yann@2076
    90
If you think you deserve being cited in this file, do yell at me! ;-)