Skip to contentSkip to conversation

glibc build

DISCUSSION George Gensure,,, 4 participants 6 messages Apr 20, 2001 – Apr 30, 2001 MIPS

lore
Share & tools
lore
#1 lore raw

CFLAGS=-D__PIC__ make all [check] install

the target "check" will not work if you are cross compiling, so you might as well install... You end up coming across this in several places.

-- bryan

Quoted 4 lines · George Gensure,,,

Where is the CFLAGS that I should add to? In the Subdirectories?

George
[email protected]

#2 lore raw

I went throught and deleted all of those entries in assembly files which caused problems, but I end up with similar problems later, only the assembler seems to have been running from standard input..

George
[email protected]

Quoted 15 lines · Bryan Chua

CFLAGS=-D__PIC__ make all [check] install

the target "check" will not work if you are cross compiling, so you might as well install... You end up coming across this in several places.

-- bryan

Quoted 4 lines · George Gensure,,,

Where is the CFLAGS that I should add to? In the Subdirectories?

George
[email protected]

#3 lore raw
In reply to Bryan Chua
Quoted 5 lines · Bryan Chua

CFLAGS=-D__PIC__ make all [check] install

the target "check" will not work if you are cross compiling, so you might as well install... You end up coming across this in several places.

None of the compiler we ever recommended to use had this bug, so I wonder what compiler you're trying to use.

Ralf

#4 lore raw

binutils 2.8.1, 2.9.1, 2.10, 2.10.1 (with and without patches) 2.11 gcc 2.95.2, 2.95.2.1, 2.95.3

The bug was that the specs file in 2.95.? seems to be missing a -K__PIC__ in the spec for *cpp %{.S...}

It does seem to be in the current snapshot as of a few weeks ago and is thus not necessary, but also not released.

-- bryan

Quoted 12 lines · Ralf Baechle
Quoted 5 lines · Bryan Chua

CFLAGS=-D__PIC__ make all [check] install

the target "check" will not work if you are cross compiling, so you might as well install... You end up coming across this in several places.

None of the compiler we ever recommended to use had this bug, so I wonder what compiler you're trying to use.

Ralf

#5 lore raw
Quoted 4 lines · Bryan Chua

gcc 2.95.2, 2.95.2.1, 2.95.3

The bug was that the specs file in 2.95.? seems to be missing a -K__PIC__ in the spec for *cpp %{.S...}

None of 2.95.* compilers works for MIPS/Linux without additional patches.

Signature · 3 lines
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: [email protected], PGP key available        +