#635: Replace use of select() in the I/O manager with epoll/kqueue/etc.
---------------------------------+------------------------------------------
Reporter: simonmar | Owner: bos
Type: task | Status: new
Priority: normal | Milestone: _|_
Component: libraries/base | Version: 6.4.1
Keywords: | Difficulty: Project (more than a week)
Os: Unknown/Multiple | Testcase: N/A
Architecture: Unknown/Multiple | Failure: Runtime performance bug
---------------------------------+------------------------------------------
Comment(by tibbe):
Replying to [comment:35 kazu-yamamoto]:
> The error: (Note I upgrade my Mac to Snow Leopard and GHC to 6.12.1)
>
{{{
% make
ranlib ../dist/build/libHSevent-0.1.a
ghc -funbox-strict-fields -package bytestring -ignore-package event -fno-
ignore-asserts -Wall -fno-warn-orphans -fno-warn-missing-signatures
-i../dist/build -package-name event-0.1 -package network -package
network-bytestring -package attoparsec -package bytestring-show -package
mtl -threaded -o dead-conn Args.o EventUtil.o EventSocket.o DeadConn.o
../dist/build/libHSevent-0.1.a
gcc -O2 -o deadconn deadconn.o
ld: warning: in deadconn.o, file is not of required architecture
Undefined symbols:
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [deadconn] Error 1
}}}
I'm not quite sure what this is, looks like a 32 vs 64-bit issue. If you
don't need deadconn (which creates idle connections useful when
benchmarking scaling properties) you can build the target you want using
e.g. `make pong-server`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/635#comment:36>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs