Hash-style

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all!

Just a question: I've downloaded latest cvs versions of binutils, gcc
and glibc.

Fedora by default uses "--hash-style=gnu" so I would like to know how to
compile these packages from sources in this way.

Before configuring them, I thought of something like:
"export {gcc,cc,c++,g++}={binary} -Wl,--hash-style=gnu,--enable-new-dtags"
and
"export ld="ld --hash-style=gnu --enable-new-dtags".

However, when passing "make install" to gcc it broke with:
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/fixincludes'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/gcc'
gcc -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Wold-style-definition
-Wmissing-format-attribute -Werror -fno-common   -DHAVE_CONFIG_H -I. -I.
-I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include
-I../../gcc/gcc/../libcpp/include  -I../../gcc/gcc/../libdecnumber
-I../libdecnumber    ../../gcc/gcc/tree-ssanames.c -o tree-ssanames.o
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make[2]: *** [tree-ssanames.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [install-gcc] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [install] Error 2

Doing a ./cc1 --help | grep overlength in the build-dir of gcc ouputs:
-Woverlength-strings        Warn if a string is longer than the maximum
  -Wold-style-definition, -Woverlength-strings, -Wstrict-prototypes,
  -Wmissing-include-dirs, -Wmultichar, -Wnormalized=, -Woverlength-strings,
  -Wold-style-definition, -Woverlength-strings, -Woverride-init,
-Wparentheses,
  -Woverlength-strings, -Woverloaded-virtual, -Wparentheses,
-Wpmf-conversions,

and "-Wno-overlength-strings" is not listed.

gcc version I'm trying to compile is:
"GNU C version 4.3.0 20061128 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 4.3.0 20061128 (experimental).
GCC heuristics: --param gcc-min-expand=30 --param gcc-min-heapsize=4096".

GCC version on host system is GCC version 4.1.1.

Question: is it safe to delete -Wno-overlength-strings from the sources
or what?

Is it correct the way I thought about compiling with the --hash-style
option or I should pass it in another way?

Thanks in advance,
Luca

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux